:root {
  --primary-blue: #0066ff;
  --primary-dark: #0052cc;
  --primary-light: #4d94ff;
  --secondary-blue: #3366ff;
  --accent-blue: #3399ff;
  --dark-navy: #001a33;
  --light-blue: #e6f2ff;
  --white: #ffffff;
  --gray-light: #f8fafc;
  --gray-medium: #e2e8f0;
  --gray-dark: #64748b;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --shadow-sm: 0 2px 8px rgba(0, 102, 255, 0.08);
  --shadow-md: 0 10px 25px rgba(0, 102, 255, 0.12);
  --shadow-lg: 0 20px 40px rgba(0, 102, 255, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}


/* ALERTS */

/* POP UPS AND OVERLAY */





/* Success Overlay Styles with modern design */
.spop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
  animation: spop-fadeIn 0.4s ease-out;
}

.spop-popup {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 10px;
  width: 95%;
  max-width: 400px;
  padding: 30px 10px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  animation: spop-popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.spop-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  z-index: -1;
}

.spop-popup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #4f46e5, #3b82f6, #10b981);
}

.spop-success-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
  position: relative;
  animation: spop-iconFloat 3s ease-in-out infinite;
}

.spop-success-icon::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 2px dashed rgba(16, 185, 129, 0.2);
  animation: spop-spin 20s linear infinite;
}

.spop-success-icon i {
  font-size: 40px;
  color: white;
  z-index: 1;
}

.spop-title {
  color: #1e293b;
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 800;
}

.spop-message {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 40px;
  font-size: 1rem;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
}

.spop-ok-button {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  color: white;
  border: none;
  padding: 10px 25px;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
  min-width: 180px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.spop-ok-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.4);
}

.spop-ok-button:active {
  transform: translateY(0);
}

.spop-ok-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s;
}

.spop-ok-button:hover::after {
  left: 100%;
}

/* Modern Animations */
@keyframes spop-fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes spop-popIn {
  0% {
    transform: scale(0.7) translateY(20px);
    opacity: 0;
  }

  70% {
    transform: scale(1.05) translateY(-5px);
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes spop-iconFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

@keyframes spop-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive design */
@media (max-width: 768px) {

  .spop-popup {
    padding: 20px 5px;
    border-radius: 10px;
  }

  .spop-title {
    font-size: 1.5rem;
  }

  .spop-success-icon {
    width: 50px;
    height: 50px;
  }

  .spop-success-icon i {
    font-size: 30px;
  }
}

@media (max-width: 480px) {


  .spop-popup {
    padding: 25px 10px;
  }
}




/* Error Overlay Styles */
.epop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
  animation: epop-fadeIn 0.4s ease-out;
}

.epop-popup {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 242, 242, 0.95) 100%);
  border-radius: 10px;
  width: 95%;
  max-width: 400px;
  padding: 30px 10px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(220, 38, 38, 0.2);
  animation: epop-popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.epop-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
  z-index: -1;
}

.epop-popup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

.epop-error-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.3);
  position: relative;
  animation: epop-iconFloat 3s ease-in-out infinite;
}

.epop-error-icon::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 2px dashed rgba(220, 38, 38, 0.2);
  animation: epop-spin 20s linear infinite;
}

.epop-error-icon i {
  font-size: 40px;
  color: white;
  z-index: 1;
}

.epop-title {
  color: #1e293b;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 800;
}

.epop-message {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 40px;
  font-size: 1rem;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
}

.epop-ok-button {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: white;
  border: none;
  padding: 10px 25px;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
  min-width: 180px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.epop-ok-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

.epop-ok-button:active {
  transform: translateY(0);
}

.epop-ok-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s;
}

.epop-ok-button:hover::after {
  left: 100%;
}

/* Modern Animations */
@keyframes epop-fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes epop-popIn {
  0% {
    transform: scale(0.7) translateY(20px);
    opacity: 0;
  }

  70% {
    transform: scale(1.05) translateY(-5px);
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes epop-iconFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

@keyframes epop-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive design */
@media (max-width: 768px) {


  .epop-popup {
    padding: 20px 5px;
    border-radius: 10px;
  }

  .epop-title {
    font-size: 1.5rem;
  }

  .epop-error-icon {
    width: 50px;
    height: 50px;
  }

  .epop-error-icon i {
    font-size: 30px;
  }
}

@media (max-width: 480px) {


  .epop-popup {
    padding: 25px 10px;
  }
}





/* Identity Confirmation Modal Styles */
.cid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
  animation: cid-fadeIn 0.4s ease-out;
}

.cid-popup {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  animation: cid-popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cid-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  z-index: -1;
}

.cid-popup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
}

.cid-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 25px;
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
  position: relative;
}

.cid-icon i {
  font-size: 25px;
  color: white;
}

.cid-title {
  color: #1e293b;
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 800;
}

.cid-subtitle {
  color: #64748b;
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.5;
}

.cid-form {
  width: 100%;
  margin-bottom: 30px;
}

.cid-input-group {
  margin-bottom: 25px;
  text-align: left;
}

.cid-label {
  display: block;
  margin-bottom: 8px;
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.cid-input {
  width: 100%;
  padding: 16px 20px;
  padding-right: 50px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: white;
  color: #1e293b;
}

.cid-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.cid-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.cid-toggle-password {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.cid-toggle-password:hover {
  color: #2563eb;
}

.cid-toggle-password i {
  font-size: 1.2rem;
}

.cid-error {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 8px;
  display: none;
  text-align: left;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cid-forgot-link {
  display: block;
  text-align: right;
  margin-top: 10px;
  color: #2563eb;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cid-forgot-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.cid-button-group {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.cid-button {
  flex: 1;
  padding: 10px 24px;
  font-size: 1.1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
}

.cid-cancel-button {
  background: #f1f5f9;
  color: #64748b;
}

.cid-cancel-button:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.cid-confirm-button {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.cid-confirm-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.cid-confirm-button:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cid-success-message {
  display: none;
  background: #d1fae5;
  color: #065f46;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

/* Modern Animations */
@keyframes cid-fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes cid-popIn {
  0% {
    transform: scale(0.7) translateY(20px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes cid-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* Responsive design */
@media (max-width: 768px) {
 
  .cid-popup {
    padding: 30px 25px;
    border-radius: 24px;
  }

  .cid-title {
    font-size: 1.6rem;
  }

  .cid-button-group {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  
  .cid-popup {
    padding: 25px 20px;
  }
}





/* POP UPS AND OVERLAY */


/* Auth Container */
.auth-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 750px;
}

/* Hero Side */
.auth-hero {
  background: linear-gradient(135deg, #001a33 0%, #003366 100%);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
  overflow: hidden;
}

.auth-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(51, 153, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.auth-hero-content {
  position: relative;
  z-index: 1;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  font-size: 1.5rem;
  font-weight: 700;
}

.auth-logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d94ff;
  font-size: 1.2rem;
}

.auth-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.auth-hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.registration-progress {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0.6;
  transition: var(--transition);
}

.progress-step.active {
  opacity: 1;
}

.step-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.progress-step.active .step-icon {
  background: var(--primary-blue);
}

.step-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.step-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.auth-hero-footer {
  position: relative;
  z-index: 1;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.security-badge i {
  color: #4d94ff;
  font-size: 1.2rem;
}

.security-badge span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Form Side */
.auth-form-side {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.auth-form-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.auth-form-header {
  margin-bottom: 40px;
}

.auth-form-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.auth-form-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* Form */
.auth-form {
  animation: fadeIn 0.3s ease-out;
}

/* Form Groups */
.form-group {
  margin-bottom: 25px;
}

.form-group.double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-label span {
  color: var(--error);
}

.form-input {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--gray-medium);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-input.error {
  border-color: var(--error);
}

.form-input.success {
  border-color: var(--success);
}

.form-input.with-icon {
  padding-right: 50px;
}

.input-icon {
  position: absolute;
  right: 16px;
  top: 30%;
  color: var(--gray-dark);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  font-size: 1.1rem;
}

.input-icon:hover {
  color: var(--primary-blue);
}

/* Gender Selection */
.gender-selection {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.gender-option {
  flex: 1;
}

.gender-radio {
  display: none;
}

.gender-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 2px solid var(--gray-medium);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.gender-radio:checked+.gender-label {
  border-color: var(--primary-blue);
  background: var(--light-blue);
}

.gender-label:hover {
  border-color: var(--primary-light);
}

.gender-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.gender-radio:checked+.gender-label .gender-icon {
  color: var(--primary-blue);
}

.gender-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Country Selection */
.country-select {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--gray-medium);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 50px;
}

.country-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* Password Strength */
.password-strength {
  margin-top: 15px;
}

.strength-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.strength-title {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.strength-text {
  font-size: 0.85rem;
  font-weight: 600;
}

.strength-text.weak {
  color: var(--error);
}

.strength-text.fair {
  color: var(--warning);
}

.strength-text.good {
  color: #f59e0b;
}

.strength-text.strong {
  color: var(--success);
}

.strength-meter {
  height: 8px;
  background: var(--gray-medium);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.strength-fill.weak {
  width: 25%;
  background: var(--error);
}

.strength-fill.fair {
  width: 50%;
  background: var(--warning);
}

.strength-fill.good {
  width: 75%;
  background: #f59e0b;
}

.strength-fill.strong {
  width: 100%;
  background: var(--success);
}

.strength-criteria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.criterion {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.criterion.met {
  color: var(--success);
}

.criterion i {
  font-size: 0.8rem;
}

/* Terms Checkbox */
.terms-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 30px 0;
  padding: 20px;
  background: var(--gray-light);
  border-radius: 10px;
}

.terms-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary-blue);
}

.terms-label {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.terms-label a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.terms-label a:hover {
  text-decoration: underline;
}

/* Submit Button */
.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

/* Login Link */
.login-link {
  text-align: center;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--gray-medium);
}

.login-text {
  color: var(--text-light);
  font-size: 0.95rem;
}

.login-link-btn {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
}

.login-link-btn:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .auth-container {
    grid-template-columns: 1fr;
    max-width: 700px;
  }

  .auth-hero {
    order: 2;
    padding: 40px;
  }

  .auth-form-side {
    order: 1;
    padding: 40px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 10px;
  }

  .auth-hero,
  .auth-form-side {
    padding: 30px 20px;
  }

  .auth-hero-title {
    font-size: 2rem;
  }

  .auth-form-title {
    font-size: 1.7rem;
  }

  .form-group.double {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gender-selection {
    flex-direction: column;
  }

  .strength-criteria {
    grid-template-columns: 1fr;
  }

  .auth-hero-title {
    font-size: 1.8rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Login Page Specific Styles */

.lgn-form-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.lgn-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.lgn-form-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.lgn-form-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 30px;
}

.lgn-form {
  animation: fadeIn 0.3s ease-out;
}

.lgn-form-group {
  margin-bottom: 25px;
  position: relative;
}

.lgn-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.lgn-form-label span {
  color: var(--error);
}

.lgn-form-input {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--gray-medium);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
}

.lgn-form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.lgn-form-input.error {
  border-color: var(--error);
}

.lgn-form-input.success {
  border-color: var(--success);
}

.lgn-form-input.with-icon {
  padding-right: 50px;
}

.lgn-input-icon {
  position: absolute;
  right: 16px;
  top: 42px;
  color: var(--gray-dark);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  font-size: 1.1rem;
}

.lgn-input-icon:hover {
  color: var(--primary-blue);
}

.lgn-form-error {
  display: none;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 6px;
}

.lgn-form-error.show {
  display: block;
}

.lgn-remember-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.lgn-remember-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lgn-remember-checkbox input {
  accent-color: var(--primary-blue);
  width: 18px;
  height: 18px;
}

.lgn-remember-checkbox label {
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
}

.lgn-forgot-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.lgn-forgot-link:hover {
  text-decoration: underline;
}

.lgn-form-submit {
  width: 100%;
  padding: 18px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.lgn-form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lgn-form-submit:active {
  transform: translateY(0);
}

.lgn-form-divider {
  display: flex;
  align-items: center;
  margin: 30px 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.lgn-form-divider::before,
.lgn-form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-medium);
}

.lgn-form-divider span {
  padding: 0 15px;
}

.lgn-social-login {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.lgn-social-btn {
  padding: 14px;
  border: 2px solid var(--gray-medium);
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--text-dark);
}

.lgn-social-btn:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.lgn-social-btn.google {
  color: #DB4437;
}

.lgn-social-btn.apple {
  color: #000000;
}

.lgn-social-btn.linkedin {
  color: #0077B5;
}

.lgn-register-link {
  text-align: center;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--gray-medium);
}

.lgn-register-text {
  color: var(--text-light);
  font-size: 0.95rem;
}

.lgn-register-link-btn {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
}

.lgn-register-link-btn:hover {
  text-decoration: underline;
}

/* Hero Side - Login Specific */
.lgn-hero-content {
  position: relative;
  z-index: 1;
}

.lgn-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.lgn-hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.lgn-benefits {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 40px;
}

.lgn-benefit {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.lgn-benefit-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d94ff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.lgn-benefit-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: white;
}

.lgn-benefit-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .lgn-form-title {
    font-size: 1.8rem;
  }

  .lgn-social-login {
    grid-template-columns: 1fr;
  }

  .lgn-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .lgn-form-title {
    font-size: 1.6rem;
  }

  .lgn-remember-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .lgn-hero-title {
    font-size: 1.8rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}