/* ============================================
   Modern Signup Page & Modal Styles
   VirtuoVerse Brand Theme - Matching Login Form
   Professional & Responsive Design
   ============================================ */

/* ===== SIGNUP PAGE WRAPPER ===== */
.signup-page-modern {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--Bgcolor-secondry, #1a1a2e);
  position: relative;
}

.signup-page-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(248, 174, 26, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(248, 174, 26, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== SIGNUP CONTAINER ===== */
.signup-container-modern {
  width: 100%;
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.signup-card-modern {
  background: var(--Bgcolor-secondry, #1e1e2e);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--formField-inputBdrColor, rgba(255, 255, 255, 0.1));
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.signup-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--Textcolor-primary, #f8ae1a) 0%, #e09800 100%);
}

/* ===== SIGNUP HEADER ===== */
.signup-header-modern {
  text-align: center;
  margin-bottom: 28px;
}

.signup-logo-modern {
  width: auto;
  height: auto;
  max-width: 180px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-logo-modern i {
  font-size: 36px;
  color: var(--Textcolor-primary, #f8ae1a);
}

.signup-logo-modern img {
  max-width: 180px;
  max-height: 60px;
  height: auto;
  width: auto;
  object-fit: contain;
}

.signup-title-modern {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.signup-subtitle-modern {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 400;
}

/* ===== SOCIAL LOGIN SECTION ===== */
.signup-social-modern {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.signup-social-btn-modern {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.signup-social-btn-modern.google {
  background: #ffffff;
  color: #333333;
}

.signup-social-btn-modern.google:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.signup-social-btn-modern.facebook {
  background: #1877F2;
  color: #ffffff;
}

.signup-social-btn-modern.facebook:hover {
  background: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.signup-social-btn-modern i {
  font-size: 18px;
}

.signup-social-btn-modern.google i {
  color: #DB4437;
}

/* ===== DIVIDER ===== */
.signup-divider-modern {
  display: flex;
  align-items: center;
  margin: 24px 0;
  gap: 16px;
}

.signup-divider-modern .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.signup-divider-modern span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== FORM STYLES ===== */
.signup-form-modern {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.signup-form-row-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.signup-form-row-modern.single {
  grid-template-columns: 1fr;
}

.signup-form-group-modern {
  position: relative;
}

.signup-form-group-modern.full-width {
  grid-column: 1 / -1;
}

.signup-label-modern {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.signup-input-modern {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
}

.signup-input-modern::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.signup-input-modern:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.signup-input-modern:focus {
  border-color: var(--Textcolor-primary, #f8ae1a);
  background: rgba(248, 174, 26, 0.05);
  box-shadow: 0 0 0 3px rgba(248, 174, 26, 0.1);
}

/* Input with icon - hidden for cleaner look */
.signup-input-wrapper-modern {
  position: relative;
}

.signup-input-wrapper-modern .signup-input-modern {
  padding-left: 16px;
}

.signup-input-wrapper-modern .input-icon {
  display: none;
}

/* Password toggle */
.password-toggle-modern {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s ease;
}

.password-toggle-modern:hover {
  color: #ffffff;
}

/* Select dropdown */
.signup-select-modern {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' fill-opacity='0.6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.signup-select-modern:focus {
  border-color: var(--Textcolor-primary, #f8ae1a);
  background-color: rgba(248, 174, 26, 0.05);
  box-shadow: 0 0 0 3px rgba(248, 174, 26, 0.1);
}

.signup-select-modern option {
  background: #1e1e2e;
  color: #ffffff;
}

/* Phone Input Styles */
.signup-form-modern .PhoneInput {
  width: 100%;
}

.signup-form-modern .PhoneInputInput {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
  height: auto !important;
  margin: 0 !important;
}

.signup-form-modern .PhoneInputInput:focus {
  border-color: var(--Textcolor-primary, #f8ae1a) !important;
  background: rgba(248, 174, 26, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(248, 174, 26, 0.1) !important;
}

.signup-form-modern .PhoneInputCountry {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 12px;
  margin-right: 10px;
}

.signup-form-modern .PhoneInputCountrySelect {
  background: #1e1e2e;
  color: #ffffff;
}

/* Error Message */
.signup-error-modern {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #ef4444;
  font-size: 13px;
  font-weight: 500;
}

.signup-error-modern i {
  font-size: 14px;
}

/* Success Message */
.signup-success-modern {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  color: #22c55e;
  font-size: 13px;
  font-weight: 500;
}

/* ===== GENDER SELECTION ===== */
.signup-gender-modern {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.signup-gender-option-modern {
  flex: 1;
  position: relative;
}

.signup-gender-option-modern input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.signup-gender-option-modern label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.signup-gender-option-modern input:checked + label {
  background: rgba(248, 174, 26, 0.1);
  border-color: var(--Textcolor-primary, #f8ae1a);
  color: var(--Textcolor-primary, #f8ae1a);
}

.signup-gender-option-modern label:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.signup-gender-option-modern input:checked + label:hover {
  background: rgba(248, 174, 26, 0.15);
}

/* ===== PLAN SELECTION ===== */
.signup-plan-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.signup-plan-option-modern {
  position: relative;
}

.signup-plan-option-modern input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.signup-plan-option-modern label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.signup-plan-option-modern label .plan-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.signup-plan-option-modern label .plan-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.signup-plan-option-modern label .plan-price {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.signup-plan-option-modern input:checked + label {
  background: rgba(248, 174, 26, 0.1);
  border-color: var(--Textcolor-primary, #f8ae1a);
}

.signup-plan-option-modern input:checked + label .plan-icon {
  background: linear-gradient(135deg, var(--Textcolor-primary, #f8ae1a) 0%, #e09800 100%);
  color: #ffffff;
}

.signup-plan-option-modern label:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.signup-plan-option-modern.pro label {
  position: relative;
}

.signup-plan-option-modern.pro label::before {
  content: 'POPULAR';
  position: absolute;
  top: -10px;
  right: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ===== FILE UPLOAD ===== */
.signup-file-upload-modern {
  margin-bottom: 16px;
}

.signup-file-dropzone-modern {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.signup-file-dropzone-modern:hover {
  border-color: var(--Textcolor-primary, #f8ae1a);
  background: rgba(248, 174, 26, 0.05);
}

.signup-file-dropzone-modern .upload-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 174, 26, 0.1);
  border-radius: 16px;
  color: var(--Textcolor-primary, #f8ae1a);
  font-size: 24px;
}

.signup-file-dropzone-modern .upload-text {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.signup-file-dropzone-modern .upload-hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.signup-file-dropzone-modern input[type="file"] {
  display: none;
}

/* File Preview */
.signup-file-preview-modern {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(248, 174, 26, 0.3);
  border-radius: 16px;
}

.signup-file-preview-modern img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.signup-file-preview-modern .file-info {
  flex: 1;
}

.signup-file-preview-modern .file-name {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.signup-file-preview-modern .file-size {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.signup-file-preview-modern .remove-file {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border: none;
  border-radius: 10px;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.3s ease;
}

.signup-file-preview-modern .remove-file:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* ===== CHECKBOX STYLES ===== */
.signup-checkbox-modern {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.signup-checkbox-modern input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--Textcolor-primary, #f8ae1a);
  cursor: pointer;
}

.signup-checkbox-modern label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.signup-checkbox-modern label a {
  color: var(--Textcolor-primary, #f8ae1a);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.signup-checkbox-modern label a:hover {
  color: #ffc94d;
  text-decoration: underline;
}

/* ===== SUBMIT BUTTON ===== */
.signup-submit-modern {
  width: 100%;
  padding: 16px 24px;
  background:#369b39;
  border: none;
  border-radius: 12px;
  color: #1a1a2e;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.signup-submit-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px #369b39;
}

.signup-submit-modern:active {
  transform: translateY(0);
}

.signup-submit-modern:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.signup-submit-modern .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== FOOTER LINKS ===== */
.signup-footer-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-footer-modern a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.signup-footer-modern a:hover {
  color: var(--Textcolor-primary, #f8ae1a);
}

.signup-footer-modern a.primary {
  color: var(--Textcolor-primary, #f8ae1a);
  font-weight: 600;
}

.signup-footer-modern a.primary:hover {
  color: #ffc94d;
}

/* ===== OTP POPUP ===== */
.signup-otp-overlay-modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.signup-otp-card-modern {
  background: linear-gradient(145deg, #1e1e2e 0%, #252538 100%);
  border-radius: 24px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.signup-otp-card-modern .close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.signup-otp-card-modern .close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.signup-otp-card-modern .otp-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(248, 174, 26, 0.15) 0%, rgba(248, 174, 26, 0.08) 100%);
  border-radius: 20px;
  color: var(--Textcolor-primary, #f8ae1a);
  font-size: 32px;
}

.signup-otp-card-modern h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.signup-otp-card-modern .otp-message {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 32px;
}

.signup-otp-card-modern .otp-timer {
  color: var(--Textcolor-primary, #f8ae1a);
  font-weight: 600;
}

/* OTP Input Styling */
.signup-otp-inputs-modern {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.signup-otp-inputs-modern input {
  width: 56px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: all 0.3s ease;
}

.signup-otp-inputs-modern input:focus {
  border-color: var(--Textcolor-primary, #f8ae1a);
  background: rgba(248, 174, 26, 0.05);
  box-shadow: 0 0 0 3px rgba(248, 174, 26, 0.1);
}

.signup-otp-actions-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signup-otp-actions-modern .btn-verify {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--Textcolor-primary, #f8ae1a) 0%, #e09800 100%);
  border: none;
  border-radius: 12px;
  color: #1a1a2e;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.signup-otp-actions-modern .btn-verify:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(248, 174, 26, 0.4);
}

.signup-otp-actions-modern .btn-resend {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.signup-otp-actions-modern .btn-resend:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.signup-otp-actions-modern .btn-resend:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== MODAL STYLES ===== */
#registerpop .modal-dialog.signup-modal-modern {
  max-width: 720px;
  margin: 20px auto;
}

#registerpop .modal-content.signup-modal-content-modern {
  background: transparent;
  border: none;
  box-shadow: none;
}

#registerpop .modal-body.signup-modal-body-modern {
  padding: 0;
}

.signup-modal-card-modern {
  background: linear-gradient(145deg, #1e1e2e 0%, #252538 100%);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.signup-modal-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--Textcolor-primary, #f8ae1a) 0%, #e09800 100%);
}

.signup-modal-card-modern::-webkit-scrollbar {
  width: 6px;
}

.signup-modal-card-modern::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.signup-modal-card-modern::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.signup-modal-card-modern::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.signup-modal-close-modern {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.signup-modal-close-modern:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ===== ERROR ALERT BOX ===== */
.signup-alert-modern {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  margin-bottom: 20px;
}

.signup-alert-modern.error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

.signup-alert-modern.error .alert-icon {
  color: #ef4444;
}

.signup-alert-modern .alert-icon {
  font-size: 20px;
  margin-top: 2px;
}

.signup-alert-modern .alert-content {
  flex: 1;
}

.signup-alert-modern .alert-title {
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.signup-alert-modern .alert-message {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 576px) {
  .signup-page-modern {
    padding: 20px 16px;
  }

  .signup-card-modern {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .signup-title-modern {
    font-size: 24px;
  }

  .signup-social-modern {
    flex-direction: column;
  }

  .signup-form-row-modern {
    grid-template-columns: 1fr;
  }

  .signup-gender-modern {
    flex-direction: column;
  }

  .signup-plan-modern {
    grid-template-columns: 1fr;
  }

  .signup-footer-modern {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .signup-otp-inputs-modern {
    gap: 8px;
  }

  .signup-otp-inputs-modern input {
    width: 48px;
    height: 56px;
    font-size: 20px;
  }

  .signup-modal-card-modern {
    padding: 32px 20px;
    max-height: 85vh;
  }

  .signup-modal-close-modern {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 400px) {
  .signup-card-modern {
    padding: 28px 20px;
  }

  .signup-title-modern {
    font-size: 22px;
  }

  .signup-input-modern,
  .signup-select-modern {
    padding: 12px 14px;
    font-size: 14px;
  }

  .signup-submit-modern {
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* ===== ANIMATION KEYFRAMES ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.signup-card-modern,
.signup-modal-card-modern {
  animation: fadeIn 0.4s ease-out;
}

/* ===== FORM ERROR STATE ===== */
.signup-input-modern.error,
.signup-select-modern.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.signup-input-modern.error:focus,
.signup-select-modern.error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

/* ===== FORM SUCCESS STATE ===== */
.signup-input-modern.success {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

/* ===== USERNAME PREVIEW ===== */
.signup-username-preview-modern {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(248, 174, 26, 0.1);
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.signup-username-preview-modern strong {
  color: var(--Textcolor-primary, #f8ae1a);
  word-break: break-all;
}

/* ===== PHONE TERMS TEXT ===== */
.signup-phone-terms-modern {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 16px;
}

.signup-phone-terms-modern .terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.signup-phone-terms-modern .terms-checkbox input {
  margin-top: 4px;
}

.signup-phone-terms-modern .terms-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.6;
}

.signup-phone-terms-modern .terms-text a {
  color: var(--Textcolor-primary, #f8ae1a);
  text-decoration: none;
}

.signup-phone-terms-modern .terms-text a:hover {
  text-decoration: underline;
}

/* Override existing styles */
.loginRgtrBoxPopup.signup-modern-wrapper {
  padding: 0 !important;
  background: transparent !important;
}

/* Hide old titleBarTop for signup page */
.signup-page-modern + .mainContentWrap .titleBarTop,
body.signup-modern-active .titleBarTop {
  display: none;
}
