/* ========================================
   WPREMOTE SIGN UP PAGE STYLES
   ========================================
   💡 KEY SECTIONS TO MODIFY:
   
   1. RIGHT SIDE LAYOUT (.wpremote-signup-right)
      - Line ~403: Padding, background colors
      
   2. SPACING BETWEEN TEXT & IMAGE
      - Line ~417: .wpremote-right-text padding-top
      - Line ~510: .wpremote-dashboard-wrapper padding-top
      
   3. HEADING FONTS & COLORS
      - Line ~437: .wpremote-command-center (golden text)
      - Line ~446: .wpremote-wp-universe (black text)
      
   4. DASHBOARD IMAGE SIZE
      - Line ~518: max-height controls image size
      
   5. BREAKPOINTS
      - Line ~537: Desktop breakpoint (1280px)
   ======================================== */


.wpremote-signup-container {
  display: flex;
  min-height: 100vh;
  background-color: white;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Left Side: Form */
.wpremote-signup-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 50px 80px;
  overflow-y: auto;
  position: relative;
  z-index: 10;
}

.wpremote-logo-container {
  margin-bottom: 40px;
}

.wpremote-logo-link {
  display: inline-block;
  text-decoration: none;
}

.wpremote-logo-icon {
  height: 36px;
  width: auto;
}

.wpremote-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.wpremote-form-header {
  margin-bottom: 0;
}

.wpremote-form-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: #18181b;
  margin: 0;
  padding: 0 0 8px 0;
}

.wpremote-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpremote-form-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpremote-form-row {
  display: flex;
  gap: 32px;
}

.wpremote-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wpremote-form-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #3f3f46;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 2px;
}

.wpremote-required {
  color: #dc2626;
  line-height: 1;
}

.wpremote-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.wpremote-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #3f3f46;
  pointer-events: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wpremote-input {
  width: 100%;
  height: 48px;
  padding: 8px 12px;
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 200;
  color: #3f3f46;
  background-color: white;
  transition: border-color 0.2s;
}

.wpremote-input-with-icon {
  padding-left: 40px !important;
}

.wpremote-input::placeholder {
  color: #3f3f46;
  font-weight: 200;
}

.wpremote-input:focus {
  outline: none;
  border-color: #3f3f46;
}

/* intl-tel-input Styling */
.iti {
  width: 100%;
  position: relative;
  z-index: 10;
}

.iti__selected-flag {
  padding: 0 8px 0 12px;
  border-right: 1px solid #e4e4e7;
}

.iti__selected-flag:hover {
  background-color: #f9fafb;
}

.iti__flag {
  width: 20px;
  height: 15px;
}

.iti__arrow {
  border-top-color: #3f3f46;
  margin-left: 4px;
}

.iti__country-list {
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 300px;
  margin-top: 4px;
  z-index: 99999 !important;
  position: fixed !important;
}

.iti__country {
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #3f3f46;
}

.iti__country:hover {
  background-color: #f9fafb;
}

.iti input[type="tel"] {
  padding-left: 52px !important;
  height: 46px;
}

.iti input[type="tel"]:focus {
  border-color: #3f3f46;
}

/* Password Input */
.wpremote-password-input {
  padding-left: 12px;
  padding-right: 40px;
}

.wpremote-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.wpremote-password-toggle:hover {
  opacity: 0.7;
}

.wpremote-password-toggle:focus {
  outline: none;
}

.wpremote-eye-icon {
  color: #3f3f46;
  width: 16px;
  height: 16px;
}

/* Submit Section */
.wpremote-submit-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wpremote-submit-btn {
  width: 100%;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  background-color: #292524;
  color: white;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpremote-submit-btn:hover {
  background-color: #1c1917;
}

.wpremote-submit-btn:active {
  background-color: #0c0a09;
}

.wpremote-divider {
  text-align: center;
  color: #71717a;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.wpremote-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  background-color: #f4f4f5;
  color: #292524;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s;
}

.wpremote-google-btn:hover {
  background-color: #e4e4e7;
  color: #292524;
}

.wpremote-google-btn:active {
  background-color: #d4d4d8;
}

.wpremote-google-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wpremote-login-link {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #71717a;
}

.wpremote-link {
  color: #ca8a04;
  text-decoration: underline !important;
  font-size: 12px;
}

.wpremote-link:hover {
  color: #a16207;
  text-decoration: underline !important;
}

/* Ensure all links have underline */
.wpremote-signup-container a:not(.wpremote-logo-link):not(.wpremote-google-btn):not(.wpremote-submit-btn) {
  text-decoration: underline !important;
}

.bv-link-text-new {
  text-decoration: underline !important;
}

/* Terms */
.wpremote-terms {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #71717a;
  line-height: 1.5;
}

.wpremote-terms .wpremote-link {
  color: #ca8a04;
  text-decoration: underline;
}

/* Right Side: Dashboard Preview */
/* ========================================
   RIGHT SIDE CONTAINER
   💡 MODIFY HERE: Adjust padding to control page margins
   - padding: 40px = Overall page padding (top right bottom left)
   ======================================== */
.wpremote-signup-right {
  flex: 1;
  display: none;
  background: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 25%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(207deg, rgba(191, 178, 116, 0.20) 0.89%, rgba(254, 240, 138, 0.20) 50.58%, rgba(191, 178, 116, 0.20) 84.18%, rgba(224, 210, 122, 0.20) 99.32%);
  background-color: #e7e5e4;
  padding: 40px 40px 0 40px; /* 💡 Reduce to prevent scrolling */
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  z-index: 0;
}

.wpremote-right-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: calc(100vh - 160px);
  justify-content: space-between;
}

/* 💡 SPACING: Text content from top */
.wpremote-right-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 30px; /* 💡 Adjust space from top of page */
  flex-shrink: 0;
}

.wpremote-right-heading {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wpremote-right-heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* 💡 HEADING: "The Command Center" - Golden text */
.wpremote-command-center {
  color: #ca8a04; /* 💡 Golden/amber color */
  font-family: 'Hedvig Letters Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  opacity: 0.85;
  font-size: 38px; /* 💡 Adjust heading size */
  line-height: 45px;
}

/* 💡 HEADING: "for your WordPress Universe" - Black text */
.wpremote-wp-universe {
  color: #292524; /* 💡 Stone-800 (dark gray/black) */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 36px; /* 💡 Adjust heading size */
  line-height: normal;
}

.wpremote-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.6);
  padding: 8px 16px;
  border-radius: 9999px;
  width: fit-content;
}

.wpremote-handshake-icon {
  width: 16px;
  height: 16px;
  color: #27272a;
  flex-shrink: 0;
}

.wpremote-trust-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: normal;
  color: #292524;
}

.wpremote-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wpremote-benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: #44403c;
}

.wpremote-check-icon {
  width: 16px;
  height: 16px;
  color: #ca8a04;
  flex-shrink: 0;
}

/* ========================================
   DASHBOARD IMAGE CONTAINER
   💡 MODIFY HERE: Control spacing and image size
   ======================================== */
.wpremote-dashboard-wrapper {
  margin-top: auto;
  padding-top: 8px; /* 💡 Space between text and image */
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  flex-shrink: 0;
  padding-bottom: 0;
}

/* 💡 DASHBOARD IMAGE: Size and styling */
.wpremote-dashboard-image {
  width: 100%;
  height: auto;
  max-height: 380px; /* 💡 Control image size (increase/decrease) */
  display: block;
  object-fit: contain;
  object-position: top center;
  border-radius: 12px 12px 0 0; /* 💡 Top corner rounding */
  background-color: transparent;
}

/* ========================================
   RESPONSIVE DESIGN - BREAKPOINTS
   ========================================
   - Mobile/Tablet (< 1280px): Right side HIDDEN, only form shows
   - Desktop (>= 1280px): Right side VISIBLE with dashboard preview
   
   💡 TO ADJUST: Change 1280px to 1024px if you want right side on iPad landscape
   ======================================== */

@media (min-width: 1280px) {
  /* Shows right side on desktop screens */
  .wpremote-signup-right {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 1280px) and (max-width: 1440px) {
  /* Medium desktop screens */
  .wpremote-signup-right {
    padding: 40px 30px 0 30px;
  }
  
  .wpremote-command-center {
    font-size: 32px;
    line-height: 38px;
  }
  
  .wpremote-wp-universe {
    font-size: 30px;
  }
  
  .wpremote-right-text {
    padding-top: 20px;
  }
  
  .wpremote-dashboard-wrapper {
    max-height: 380px;
    padding-top: 6px;
  }
  
  .wpremote-dashboard-image {
    max-height: 340px;
  }
}

@media (max-width: 1024px) {
  .wpremote-signup-left {
    padding: 40px 60px;
  }
}

@media (max-width: 768px) {
  .wpremote-signup-left {
    padding: 30px 40px;
  }
  
  .wpremote-form-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .wpremote-main-content {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .wpremote-signup-left {
    padding: 24px;
  }
  
  .wpremote-logo-container {
    margin-bottom: 32px;
  }
  
  .wpremote-main-content {
    gap: 16px;
  }
}

/* Alert Styles (for flash messages) */
.wpremote-signup-left .alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  width: 100%;
  border: none;
}

.wpremote-signup-left .wpremote-alert-small {
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
}

.wpremote-signup-left .alert::before {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
}

.wpremote-signup-left .alert-info {
  background-color: #f0f9ff !important; /* sky-50 from BvPill */
  color: #0284c7 !important; /* sky-600 from BvPill */
}

.wpremote-signup-left .alert-info::before {
  content: 'i';
  background-color: white;
  border: 2px solid #0284c7; /* sky-600 */
  color: #0284c7; /* sky-600 */
  line-height: 1;
  padding-top: 1px;
}

.wpremote-signup-left .alert-danger {
  background-color: #fef2f2 !important; /* red-50 from BvPill */
  color: #dc2626 !important; /* red-600/destructive from BvPill */
}

.wpremote-signup-left .alert-danger::before {
  content: 'i';
  background-color: white;
  border: 2px solid #dc2626; /* red-600 */
  color: #dc2626; /* red-600 */
  line-height: 1;
  padding-top: 1px;
}

.wpremote-signup-left .alert strong {
  font-weight: 600;
}

/* Field-level error messages */
.wpremote-field-error {
  display: block;
  color: #dc2626;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
}

/* Form Subtitle (for forgot password page) */
.wpremote-form-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #71717a;
  margin: 0;
  line-height: 1.5;
}

/* Links Section */
.wpremote-links-section {
  text-align: center;
  margin-top: 0;
}

.wpremote-link {
  color: #ca8a04;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline !important;
  transition: color 0.2s;
}

.wpremote-link:hover {
  color: #a16207;
  text-decoration: underline !important;
}

/* Footer Links */
.wpremote-footer-links {
  margin-top: 16px;
  text-align: center;
}

.wpremote-footer-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #18181b;
  margin: 0;
}

/* Sign In Page - Right Side */
.wpremote-signin-heading {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #18181b;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.wpremote-signin-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #52525b;
  margin: 0;
  line-height: 1.6;
}

/* Forgot Password Page - Right Side */
.wpremote-forgot-heading-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wpremote-forgot-heading {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #18181b;
  margin: 0;
  line-height: 1.2;
}

.wpremote-forgot-subtitle {
  font-family: 'Hedvig Letters Serif', serif;
  font-size: 40px;
  font-weight: 400;
  color: #ca8a04;
  margin: 0;
  line-height: 1.2;
}

.wpremote-forgot-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #44403c;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.wpremote-trust-badge-forgot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.6);
  border-radius: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #27272a;
}

/* Modal Popup Styles */
.wpremote-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wpremote-modal-container {
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpremote-modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #18181b;
  margin: 0;
  text-align: center;
  line-height: 1.2;
}

.wpremote-modal-message {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3f3f46;
  margin: 0;
  text-align: center;
  line-height: 1.6;
}

.wpremote-modal-message strong {
  font-weight: 600;
  color: #18181b;
}

.wpremote-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.wpremote-modal-btn {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 120px;
}

.wpremote-modal-btn-secondary {
  background-color: white;
  color: #18181b;
  border: 1px solid #d4d4d8;
}

.wpremote-modal-btn-secondary:hover {
  background-color: #f4f4f5;
  border-color: #a1a1aa;
}

.wpremote-modal-btn-primary {
  background-color: #292524;
  color: white;
}

.wpremote-modal-btn-primary:hover {
  background-color: #1c1917;
}

.wpremote-modal-terms {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #71717a;
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .wpremote-modal-container {
    padding: 32px 24px;
  }

  .wpremote-modal-title {
    font-size: 20px;
  }

  .wpremote-modal-message {
    font-size: 14px;
  }

  .wpremote-modal-actions {
    flex-direction: column;
  }

  .wpremote-modal-btn {
    width: 100%;
  }
}

