
/* Compiled from core's app/assets/stylesheets/web2/oauth_modern.scss (Sass 3.4, expanded).
   Styles the OAuth sign-in, sign-up and consent pages (Api2::OauthController). */
/* Modern OAuth Styles */
/* Author: StockTwits */
/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

html, body, div, h1, h2, h3, h4, h5, h6, p, a, span, form, fieldset, label, input, textarea, button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
}

html, body {
  height: 100%;
}

body.oauth {
  font-family: "Source Sans Pro", Arial, "Helvetica Neue", Helvetica, sans-serif;
  background-color: #f5f5f5;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #0084FF;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #0066CC;
}

img {
  max-width: 100%;
  height: auto;
}

#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Global Header */
#global-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
}

#header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo {
  display: inline-block;
  line-height: 0;
  background: none !important;
  width: auto !important;
  height: auto !important;
}
#logo img {
  display: block !important;
  width: 117px;
  height: 18px;
}

/* Main Content */
#main {
  flex: 1;
  display: flex;
  /* Keep content near the top; center horizontally */
  align-items: flex-start;
  justify-content: center;
  padding: 24px 20px 40px;
}

/* Modern Auth Container */
.modern-auth-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Auth Card */
.auth-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  padding: 40px;
  margin-bottom: 32px;
}

.auth-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 32px 0;
  line-height: 1.3;
}

/* Form Styles */
.modern-auth-form {
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 14px 40px 14px 16px;
  font-size: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f5f5f5;
  color: #1a1a1a;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  font-family: inherit;
}
.form-input:focus {
  outline: none;
  border-color: #d0d0d0;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.05);
}
.form-input::placeholder {
  color: #999999;
}

/* Input Icons */
.input-wrapper::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #dc3545;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
}

.input-wrapper:has(.form-input:focus)::after {
  opacity: 0;
}

/* Forgot Password Link */
.forgot-password-link {
  margin-top: 8px;
  text-align: left;
}
.forgot-password-link a {
  font-size: 14px;
  color: #0084FF;
  text-decoration: none;
}
.forgot-password-link a:hover {
  text-decoration: underline;
  color: #0066CC;
}

/* Sign In Button */
.btn-signin {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: #000000;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  margin-top: 24px;
  transition: background-color 0.2s;
  font-family: inherit;
}
.btn-signin:hover {
  background-color: #1a1a1a;
}
.btn-signin:active {
  background-color: #333333;
}
.btn-signin:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

/* Checkbox Styles */
.form-group.terms-checkbox {
  margin-top: 24px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-weight: normal;
  gap: 10px;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-text {
  font-size: 13px;
  color: #666666;
  line-height: 1.5;
}
.checkbox-text a {
  color: #0084FF;
  text-decoration: none;
}
.checkbox-text a:hover {
  text-decoration: underline;
  color: #0066CC;
}

/* Signup Section — card style */
.signup-section {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  padding: 32px;
  text-align: left;
}

.signup-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.signup-description {
  font-size: 15px;
  color: #4a4a4a;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.signup-section .btn-signup {
  display: block;
  width: 100%;
  text-align: center;
}

/* Sign Up Button */
.btn-signup {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: #000000;
  border: none;
  border-radius: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}
.btn-signup:hover {
  background-color: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-signup:active {
  background-color: #333333;
  transform: translateY(0);
}

/* Error Messages */
.errorExplanation,
.error-messages {
  background-color: #fff3f3;
  border: 1px solid #ffcccc;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}
.errorExplanation h2,
.error-messages h2 {
  font-size: 16px;
  font-weight: 600;
  color: #dc3545;
  margin: 0 0 12px 0;
}
.errorExplanation p,
.error-messages p {
  font-size: 14px;
  color: #dc3545;
  margin: 0 0 8px 0;
}
.errorExplanation p:last-child,
.error-messages p:last-child {
  margin-bottom: 0;
}
.errorExplanation ul,
.error-messages ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.errorExplanation ul li,
.error-messages ul li {
  font-size: 14px;
  color: #dc3545;
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}
.errorExplanation ul li:before,
.error-messages ul li:before {
  content: '•';
  position: absolute;
  left: 8px;
}
.errorExplanation ul li:last-child,
.error-messages ul li:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
  .auth-card {
    padding: 32px 24px;
    border-radius: 8px;
  }

  .signup-section {
    padding: 24px;
  }

  .auth-title {
    font-size: 22px;
  }

  .signup-title {
    font-size: 18px;
  }
}
/* Utility Classes */
.clear {
  clear: both;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.hidden {
  display: none !important;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #0084FF;
  outline-offset: 2px;
}

/* Remove default input appearance on mobile */
input[type="text"],
input[type="password"],
input[type="email"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Global Notification Box */
#global-notification-notice-wrapper {
  display: none;
  background-color: #000000;
  color: #ffffff;
  padding: 16px 20px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.global-notification-item-wrapper {
  width: 100%;
}

.global-notification-top {
  width: 100%;
}

.global-notification-item {
  width: 100%;
}
.global-notification-item p {
  margin: 0;
  padding: 0;
  font-size: 22px;
}

#global-notification-box {
  background-color: #d4edda;
  border-bottom: 1px solid #c3e6cb;
  color: #155724;
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
}
#global-notification-box.error {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}
#global-notification-box.warning {
  background-color: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
}
#global-notification-box.info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

/* Header Right Content */
#header-right {
  font-size: 14px;
  color: #666666;
  display: flex;
  align-items: center;
}
#header-right a {
  color: #0084FF;
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
}
#header-right a:hover {
  text-decoration: underline;
  color: #0066CC;
}

/* Share Widget Styles */
.message-share-widget {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  padding: 24px;
}
.message-share-widget h1 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  padding: 0;
}
.message-share-widget .message {
  background-color: #f8f9fa !important;
  border-radius: 12px !important;
  padding: 16px !important;
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  margin: 0 0 20px 0 !important;
  border: 1px solid #e0e0e0;
  display: flex;
  gap: 12px;
}
.message-share-widget .message .mb3-avatar {
  flex-shrink: 0;
}
.message-share-widget .message .mb3-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
}
.message-share-widget .message .message-content {
  flex: 1;
  padding: 0 !important;
}
.message-share-widget .message .message-content .username {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.message-share-widget .message .message-content .username:hover {
  color: #0084FF;
}
.message-share-widget .message .message-content .message-body .share-message-body {
  height: auto !important;
  font-size: 15px;
  line-height: 1.5;
  color: #1a1a1a;
  margin-bottom: 12px;
  word-wrap: break-word;
}
.message-share-widget .message .message-content .message-body .share-message-body a {
  color: #0084FF;
  text-decoration: none;
}
.message-share-widget .message .message-content .message-body .share-message-body a:hover {
  text-decoration: underline;
}
.message-share-widget .message .message-content .message-body .message-date {
  font-size: 13px;
  color: #666666;
  display: block;
  margin-top: 8px;
}
.message-share-widget .share-like-buttons {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  gap: 12px;
  align-items: center;
}
.message-share-widget .share-like-buttons li {
  margin: 0;
  padding: 0;
}
.message-share-widget .share-like-buttons a.button {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.message-share-widget .share-like-buttons a.button.btn-yellow, .message-share-widget .share-like-buttons a.button.like {
  background-color: #000000;
  color: #ffffff;
}
.message-share-widget .share-like-buttons a.button.btn-yellow:hover, .message-share-widget .share-like-buttons a.button.like:hover {
  background-color: #1a1a1a;
}
.message-share-widget .share-like-buttons a.button.btn-yellow.liked, .message-share-widget .share-like-buttons a.button.like.liked {
  background-color: #0084FF;
}
.message-share-widget .share-like-buttons a.button.btn-yellow.liked:hover, .message-share-widget .share-like-buttons a.button.like.liked:hover {
  background-color: #0066CC;
}
.message-share-widget .share-like-buttons a.button.message-share-close {
  background-color: #f0f0f0;
  color: #1a1a1a;
  margin-left: 0 !important;
}
.message-share-widget .share-like-buttons a.button.message-share-close:hover {
  background-color: #e0e0e0;
}
.message-share-widget .share-like-buttons a.button.btn-follow {
  background-color: #000000;
  color: #ffffff;
}
.message-share-widget .share-like-buttons a.button.btn-follow:hover {
  background-color: #1a1a1a;
}
.message-share-widget .share-like-buttons a.button.btn-unfollow {
  background-color: #dc3545;
  color: #ffffff;
}
.message-share-widget .share-like-buttons a.button.btn-unfollow:hover {
  background-color: #c82333;
}

.mb3-small {
  margin-bottom: 24px;
}

/* Message Box Modern Styles */
.message-box3 {
  width: 100%;
}
.message-box3 textarea.message-text {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background-color: #ffffff;
  color: #1a1a1a;
  box-sizing: border-box;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}
.message-box3 textarea.message-text:focus {
  outline: none;
  border-color: #0084FF;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.1);
}

.mb3-avatar img {
  border-radius: 50%;
  display: block;
}

.sentiment-selector.modern {
  display: flex;
  gap: 0;
}
.sentiment-selector.modern .modern-sentiment-input {
  display: none;
}
.sentiment-selector.modern .modern-sentiment-button {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background-color: #d4d4d4;
  color: #666666;
  transition: all 0.2s;
  margin: 0;
  border: 1px solid transparent;
  position: relative;
}
.sentiment-selector.modern .modern-sentiment-button:hover {
  background-color: #c7c7c7;
}
.sentiment-selector.modern .modern-sentiment-button.bearish {
  color: #dc3545;
  border-radius: 20px 0 0 20px;
  z-index: 0;
}
.sentiment-selector.modern .modern-sentiment-button.bullish {
  color: #28a745;
  border-radius: 0 20px 20px 0;
  z-index: 0;
}
.sentiment-selector.modern .modern-sentiment-input:checked + .modern-sentiment-button {
  background-color: #fff;
  border-radius: 20px;
  z-index: 2;
}
.sentiment-selector.modern .modern-sentiment-input:checked + .modern-sentiment-button.bearish {
  border: 1px solid #dc3545;
  color: #dc3545;
  margin-right: -10px;
}
.sentiment-selector.modern .modern-sentiment-input:checked + .modern-sentiment-button.bullish {
  border: 1px solid #28a745;
  color: #28a745;
  margin-left: -10px;
}

.mb3-counter {
  font-size: 14px;
  color: #666666;
  font-weight: 600;
}
.mb3-counter.mb3-counter-neg {
  color: #dc3545;
}

.mb3-button.button {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.mb3-button.button:hover {
  opacity: 0.9;
}
.mb3-button.button:active {
  transform: scale(0.98);
}

.mb3-status {
  margin-top: 12px;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
}
.mb3-status.mb3-status-error {
  /* Hidden by default on oauth modern views */
  display: none;
  background-color: #fff3f3;
  color: #dc3545;
  border: 1px solid #ffcccc;
}
.mb3-status.mb3-status-positive {
  /* Hidden by default on oauth modern views */
  display: none;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.share-close-message {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #28a745;
  margin: 40px 0 24px 0;
}

.message-share-close {
  display: block;
  text-align: center;
  padding: 12px 32px;
  background-color: #f0f0f0;
  color: #1a1a1a;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s;
  margin: 0 auto;
  max-width: 200px;
}
.message-share-close:hover {
  background-color: #e6e6e6;
  text-decoration: none;
}

/* ==========================================================================
   OAuth Connect flow (api2/oauth authorize / signin / signup)
   Dark header + white logo, scoped so widget pages using this stylesheet
   keep their light header.
   ========================================================================== */
.oauth-connect {
  /* App icon <-> avatar connect header */
  /* Consent card */
  /* Connect / Cancel buttons side by side */
  /* Cancel pill (authorize) */
  /* Secondary text link (signin cancel) */
  /* Modern signup — restyle the shared mini_signup markup in place */
  /* "Forgot your password?" link */
  /* "New to StockTwits? Sign Up." prompt under the Sign In button */
  /* Mobile header: tighten the pills so they sit cleanly beside the logo */
}
.oauth-connect #global-header {
  background-color: #000000;
  border-bottom: none;
}
.oauth-connect #logo {
  line-height: 0;
}
.oauth-connect #logo img {
  display: block !important;
  width: auto !important;
  height: 22px !important;
}
.oauth-connect #header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  /* Pill button-styled header links */
  /* Identity label (logged-in): plain text of the current user's login */
}
.oauth-connect #header-right a {
  margin-left: 0;
}
.oauth-connect #header-right .btn-header {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.oauth-connect #header-right .btn-header-light {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.oauth-connect #header-right .btn-header-light:hover {
  background-color: #e6e6e6;
  border-color: #e6e6e6;
  color: #000000;
  text-decoration: none;
}
.oauth-connect #header-right .btn-header-dark {
  background-color: #000000;
  color: #ffffff;
  border-color: #ffffff;
}
.oauth-connect #header-right .btn-header-dark:hover {
  background-color: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
}
.oauth-connect #header-right .header-user {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: #ffffff;
}
.oauth-connect .connect-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.oauth-connect .connect-app-icon,
.oauth-connect .connect-user-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
.oauth-connect .connect-arrows {
  flex: 0 0 auto;
  width: 78px;
  height: 36px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 33' fill='none' stroke='%233e9d5c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='6' y1='9' x2='66' y2='9'/%3E%3Cpolyline points='59 3 66 9 59 15'/%3E%3Cline x1='66' y1='24' x2='6' y2='24'/%3E%3Cpolyline points='13 18 6 24 13 30'/%3E%3C/svg%3E");
}
.oauth-connect .connect-intro {
  text-align: center;
  font-size: 16px;
  color: #1a1a1a;
  margin: 0 0 28px 0;
  line-height: 1.5;
}
.oauth-connect .connect-intro strong {
  font-weight: 600;
}
.oauth-connect .connect-scopes-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px 0;
}
.oauth-connect .connect-scopes {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}
.oauth-connect .connect-scopes li {
  position: relative;
  padding: 0 0 0 30px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #1a1a1a;
  line-height: 1.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 1px;
  background-size: 18px 18px;
}
.oauth-connect .connect-scopes li:last-child {
  margin-bottom: 0;
}
.oauth-connect .connect-actions {
  display: flex;
  gap: 12px;
  margin-top: 0;
}
.oauth-connect .connect-actions .btn-signin,
.oauth-connect .connect-actions .btn-cancel {
  flex: 1 1 0;
  width: auto;
  margin-top: 0;
  text-align: center;
}
.oauth-connect .connect-disclaimer {
  font-size: 15px;
  color: #4a4a4a;
  margin: 20px 0 0 0;
  line-height: 1.5;
}
.oauth-connect .connect-disclaimer strong {
  font-weight: 700;
  color: #1a1a1a;
}
.oauth-connect .connect-fine-print {
  text-align: center;
  font-size: 14px;
  color: #888888;
  line-height: 1.5;
  margin: 24px auto 0;
  max-width: 440px;
}
.oauth-connect .btn-cancel {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  background-color: #f0f0f0;
  border: none;
  border-radius: 24px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.oauth-connect .btn-cancel:hover {
  background-color: #e2e2e2;
  text-decoration: none;
}
.oauth-connect .form-secondary-action {
  text-align: center;
  margin-top: 16px;
}
.oauth-connect .form-secondary-action a {
  font-size: 14px;
  color: #666666;
}
.oauth-connect .form-secondary-action a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}
.oauth-connect .modern-signup br {
  display: none;
}
.oauth-connect .modern-signup form.fancy-style,
.oauth-connect .modern-signup fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.oauth-connect .modern-signup fieldset > p {
  position: relative;
  margin-bottom: 20px;
}
.oauth-connect .modern-signup label {
  float: none;
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.oauth-connect .modern-signup .text-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: normal;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f5f5f5;
  color: #1a1a1a;
  box-sizing: border-box;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.oauth-connect .modern-signup .text-input:focus {
  outline: none;
  border-color: #d0d0d0;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.05);
}
.oauth-connect .modern-signup .signup-validation {
  display: block;
  float: none;
  position: static;
  width: auto;
  height: auto;
  background: none;
  padding: 0;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.oauth-connect .modern-signup .signup-validation .ok,
.oauth-connect .modern-signup .signup-validation .ok2 {
  background: none;
  padding: 0;
  /* Hide the literal "ok" text; show a green checkmark instead */
  font-size: 0;
}
.oauth-connect .modern-signup .signup-validation .ok::before,
.oauth-connect .modern-signup .signup-validation .ok2::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.oauth-connect .modern-signup .signup-validation .bad,
.oauth-connect .modern-signup .signup-validation .bad2 {
  background: none;
  padding: 0;
  color: #dc3545;
}
.oauth-connect .modern-signup p.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0;
}
.oauth-connect .modern-signup p.checkbox input {
  float: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  flex-shrink: 0;
}
.oauth-connect .modern-signup p.checkbox label {
  margin-bottom: 0;
  font-weight: normal !important;
  font-size: 13px !important;
  color: #666666;
  line-height: 1.5;
}
.oauth-connect .modern-signup #mini-signup-create.button {
  display: block;
  width: 100%;
  margin: 24px 0 0 0;
  padding: 14px 24px;
  font: 600 16px/1.2 inherit;
  color: #ffffff;
  background: #000000;
  border: none;
  border-radius: 24px;
  box-shadow: none;
  text-align: center;
  text-shadow: none;
  cursor: pointer;
}
.oauth-connect .modern-signup #mini-signup-create.button:hover {
  background: #1a1a1a;
  text-decoration: none;
}
.oauth-connect .forgot-password-link a {
  color: #1b66e7;
}
.oauth-connect .forgot-password-link a:hover {
  color: #1b66e7;
}
.oauth-connect .signup-prompt {
  text-align: center;
  margin: 20px 0 0 0;
  font-size: 15px;
  color: #4a4a4a;
}
.oauth-connect .signup-prompt a {
  color: #1b66e7;
  font-weight: 600;
}
.oauth-connect .signup-prompt a:hover {
  color: #1b66e7;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .oauth-connect #header {
    padding: 0 16px;
  }
  .oauth-connect #header-right {
    gap: 8px;
  }
  .oauth-connect #header-right .btn-header,
  .oauth-connect #header-right .header-user {
    padding: 7px 14px;
    font-size: 14px;
  }
}

/* "Continue with Google" on the sign-in page. v2 only: not in core's scss.
   Google's script renders the button into #google_signin_button; the min-height
   keeps the card from jumping when it does. */
.oauth-connect .google-signin {
  min-height: 44px;
}
.oauth-connect #google_signin_button {
  display: flex;
  justify-content: center;
  width: 100%;
}
.oauth-connect .auth-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  font-size: 14px;
  color: #999999;
}
.oauth-connect .auth-divider::before,
.oauth-connect .auth-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid #e0e0e0;
}
.oauth-connect .auth-divider span {
  padding: 0 12px;
}
