/* Import existing design system variables and base styles */
:root {
  --primary: #2b2d73;
  --ternary:#231E5D;
  --primary-600: #3b3e8c;
  --primary-700: #1f225e;
  --accent: #c12d6b;
  --orchid: #da70d6;
  --bg: #ffffff;
  --text: #1f1f1f;
  --muted: #6b6b6b;
  --alt: #f6f7fb;
  --card: #ffffff;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
  --radius: 14px;
  --header-total: 0px;
}





/* Error message text */
.error-message {
    display: none;
    color: #e53935;          /* RED */
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

/* Input field error */
input.error,
select.error,
textarea.error {
    border: 2px solid #e53935 !important;
    outline: none;
}

/* Radio button error */
input[type="radio"].error + .radio-custom {
    border-color: #e53935;
}

/* Required asterisk */
.required {
    color: #e53935;
    font-weight: bold;
}







/* Base styles from existing system */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary-700); text-decoration: none; }
a:hover { color: var(--primary); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--accent), white 20%);
  outline-offset: 2px;
  border-radius: 10px;
}
.skip-link {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 1rem; top: 1rem; width: auto; height: auto; padding: .5rem .75rem; background: var(--primary); color: #fff; border-radius: 8px;
}

/* Header styles from existing system */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid #eee;
}
.site-header::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: .75rem 1rem;
}
.logo { display: flex; align-items: center; }
.logo.left { justify-content: flex-start; }
.logo.center-main { justify-content: center; }
.logo-group.right { 
  justify-content: flex-end; 
  display: flex;
  align-items: center;
  gap: 5rem;
}
.logo-group .logo {
  display: flex;
  align-items: center;
}

/* Specific sizing for different logos to match screenshot */
.logo.left img { max-height: 60px; }
.logo.center-main img { max-height: 70px; }
.logo-group .logo img { max-height: 50px; }

/* Increase size for AICTE and VTU logos specifically */
.logo-group .logo img[src="aicte.png"] { max-height: 65px; }
.logo-group .logo img[src="vtu.png"] { max-height: 65px; }

/* Navigation styles from existing system */
.site-nav {
  position: sticky; top: 0; z-index: 1001;
  background: rgba(255,255,255,0.75);
  -webkit-backdrop-filter: saturate(150%) blur(6px);
  backdrop-filter: saturate(150%) blur(6px);
  border-top: 1px solid #f0f0f4;
  border-bottom: 2px solid var(--primary);
}
.site-nav .nav-menu {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: .75rem 1rem; cursor: pointer;
}
.nav-toggle .bar {
  display: block; width: 24px; height: 3px; margin: 4px 0; background: var(--primary); border-radius: 2px; transition: transform .2s ease;
}
.nav-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: .5rem; align-items: center; justify-content: center;
}
.nav-menu a {
  display: inline-block;
  padding: .85rem 1rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
}
.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--alt);
  color: var(--primary-700);
}
.nav-menu a.active {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
}
.nav-menu a.active:hover,
.nav-menu a.active:focus-visible {
  filter: brightness(1.08);
}

/* Section and container styles */
.section { 
  padding: 2rem 1rem; 
  scroll-margin-top: calc(var(--header-total) + 8px); 
  position: relative;
}
.container {
  margin: 0 auto; 
  max-width: 1200px;
  position: relative;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Typography from existing system */
h1, h2, h3 { line-height: 1.3; margin: 0 0 1.25rem; }
h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); font-weight: 800; color: var(--primary-700); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.3rem); font-weight: 700; color: var(--primary-700); letter-spacing: -0.005em; }
.section h2 { color: var(--ternary); }
.section h3 { color: var(--ternary); }
.subtitle { color: var(--primary-700); font-weight: 600; font-size: 1.1rem; }

/* Button styles from existing system */
.btn {
  display: inline-block; padding: .9rem 1.5rem; border-radius: 12px;
  font-weight: 700; letter-spacing: .3px; transition: all .2s ease;
  will-change: transform;
  font-size: 1rem;
  text-align: center;
  min-width: 140px;
  border: none;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: linear-gradient(90deg, var(--primary), var(--accent)); color: #fff; box-shadow: var(--shadow);
}
.btn.primary:hover { 
  filter: brightness(1.08); 
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(43, 45, 115, 0.25);
}
.btn.outline {
  border: 2px solid var(--primary); color: var(--primary-700); background: transparent;
}
.btn.outline:hover { 
  background: var(--primary); 
  color: #fff; 
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 45, 115, 0.2);
}

/* Chip styles from existing system */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .7rem; border-radius: 999px; font-weight: 600; font-size: .85rem;
  background: #eef0ff; color: var(--primary-700); border: 1px solid #e1e5ff;
}
.chip.accent { background: #ffe9f2; color: var(--accent); border-color: #E1E5FF; }

/* Note box styles from existing system */
.note-box {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  border-left: 5px solid #0284c7;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}
.note-label {
  position: absolute;
  top: 1.5rem;
  left: 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0284c7;
  background: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
}
.note-box p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #0c4a6e;
}

/* Warning note styles from existing system */
.warning-note {
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
  font-weight: 600;
  border: 2px solid #fbbf24;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
  position: relative;
  overflow: hidden;
}
.warning-note::before {
  content: '⚠️';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1.5rem;
}
.warning-note p {
  margin: 0;
  font-size: 1.1rem;
  color: #92400e;
}

/* Info box styles from existing system */
.info-box {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(43, 45, 115, 0.05), rgba(193, 45, 107, 0.05));
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--ternary);
}
.info-box h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1rem;
}
.info-box p {
  margin: 0;
  line-height: 1.6;
}

/* Footer styles from existing system */
.site-footer {
  background: var(--bg); border-top: 1px solid #eee; padding: 1rem;
  text-align: center; color: var(--muted);
}

.footer-links {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.footer-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

/* Registration page specific styles */
.registration-page {
  background:
    radial-gradient(1000px 400px at 80% -10%, rgba(43,45,115,0.12), transparent 50%),
    radial-gradient(900px 380px at 10% 0%, rgba(193,45,107,0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
}

.registration-header {
  text-align: center;
  margin-bottom: 3rem;
}

.registration-header .hero-badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
  justify-content: center;
}

.domain-selection-info {
  margin: 2rem 0;
}

.domain-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.domain-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-card.available {
  border-top-color: #28a745;
}

.domain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.domain-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.4;
}

/* Form container styles */
.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ps-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  background: #f8fafc;
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.form-section h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--ternary);
  font-size: 1.3rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--alt);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.required {
  color: var(--accent);
  font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.875rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 45, 115, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Radio button styles */
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
}

.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  background: #fff;
}

.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: var(--primary);
  background: var(--primary);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

.radio-label input[type="radio"]:focus + .radio-custom {
  box-shadow: 0 0 0 3px rgba(43, 45, 115, 0.2);
}

/* Error message styles */
.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
  display: none;
}

.error-message.show {
  display: block;
}

/* Form actions */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.form-actions button {
  min-width: 180px;
}

/* Success message styles */
.success-message {
  text-align: center;
  padding: 3rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4caf50, #8bc34a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.success-message h3 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .header-inner { 
    grid-template-columns: 1fr; 
    row-gap: .5rem; 
  }
  .logo.left, .logo.center-main, .logo-group.right { 
    justify-content: center; 
  }
  .logo-group.right {
    gap: 2rem;
  }
  .site-header { 
    position: static; 
  }
  .logo.left img { max-height: 50px; }
  .logo.center-main img { max-height: 60px; }
  .logo-group .logo img { max-height: 45px; }
  .logo-group .logo img[src="aicte.png"] { max-height: 55px; }
  .logo-group .logo img[src="vtu.png"] { max-height: 55px; }
  
  .form-container {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .registration-header h1 {
    font-size: 2rem;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .form-actions button {
    width: 100%;
    max-width: 300px;
  }
  
  .domain-cards {
    grid-template-columns: 1fr;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .note-box {
    padding: 3.5rem 1.25rem 1.25rem 1.25rem;
  }
  
  .note-label {
    top: 1rem;
    left: 0.75rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle { 
    display: inline-block; 
    position: absolute; 
    right: .5rem; 
    top: .25rem; 
  }
  .site-nav { 
    position: sticky; 
  }
  .nav-menu {
    display: none; 
    flex-direction: column; 
    align-items: stretch; 
    justify-content: flex-start;
    padding: .5rem; 
    border-top: 1px solid #f2f2fb;
    max-height: calc(100dvh - 64px);
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
    gap: .25rem;
  }
  .nav-menu.open { 
    display: flex; 
  }
  .nav-menu a { 
    padding: .85rem 1rem; 
    border-radius: 10px; 
    text-align: left; 
  }
}

@media (max-width: 480px) {
  .header-inner { 
    grid-template-columns: 1fr; 
    row-gap: .5rem; 
  }
  .logo.left, .logo.center-main, .logo-group.right { 
    justify-content: center; 
  }
  .logo-group.right {
    gap: 1.5rem;
  }
  .logo.left img { max-height: 45px; }
  .logo.center-main img { max-height: 55px; }
  .logo-group .logo img { max-height: 40px; }
  .logo-group .logo img[src="aicte.png"] { max-height: 50px; }
  .logo-group .logo img[src="vtu.png"] { max-height: 50px; }
  
  .form-container {
    padding: 1.5rem 1rem;
    margin: 0 0.5rem;
  }
  
  .form-section {
    padding: 1.5rem;
  }
  
  .registration-header h1 {
    font-size: 1.8rem;
  }
  
  .note-box {
    padding: 3.5rem 1rem 1rem 1rem;
  }
  
  .note-label {
    top: 0.75rem;
    left: 0.5rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .warning-note {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .warning-note::before {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 1.2rem;
  }
}/* Ch
eckbox styles for rules acceptance */
.checkbox-group {
  margin: 1.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-label:hover .checkbox-custom {
  border-color: var(--primary-600);
}

.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
  outline: 3px solid color-mix(in oklab, var(--accent), white 20%);
  outline-offset: 2px;
}

.checkbox-text {
  flex: 1;
}

/* Rules content styling */
.rules-content {
  margin-bottom: 2rem;
}

.rules-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.rules-section h3 {
  color: var(--primary);
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.rules-section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.rules-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Disabled button state */
.btn.disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
/* Theme Availability Styles */
.theme-availability-info {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.availability-note {
  margin: 0 0 0.75rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.refresh-icon {
  margin-right: 0.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.refresh-icon.spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Domain Select Styling */
#domain option:disabled {
  background-color: #fee2e2 !important;
  color: #991b1b !important;
}

#domain option[data-count="100"] {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Enhanced Error Styling for Full Themes */
.error-message.theme-full {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .theme-availability-info {
    padding: 0.75rem;
  }
  
  .availability-note {
    font-size: 0.85rem;
  }
  
  .btn.small {
    width: 100%;
    margin-top: 0.5rem;
  }
}
/* Mobile Input Group Styles */
.mobile-input-group {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mobile-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 45, 115, 0.1);
}

.mobile-input-group.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.country-code {
  padding: 0.875rem 0.75rem;
  background: #f8fafc;
  border-right: 1px solid #e0e0e0;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  min-width: 60px;
  text-align: center;
}

.mobile-input-group input {
  border: none;
  padding: 0.875rem;
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  background: transparent;
}

.mobile-input-group input:focus {
  outline: none;
  box-shadow: none;
}

.form-hint {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Enhanced Select Styles - Robust cross-browser solution */
.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  pointer-events: none;
  z-index: 1;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
  padding-right: 2.5rem;
  cursor: pointer;
  width: 100%;
  position: relative;
  z-index: 2;
}

.form-group select:focus + .select-wrapper::after,
.select-wrapper:focus-within::after {
  border-top-color: var(--primary);
}

/* Fix for Internet Explorer */
.form-group select::-ms-expand {
  display: none;
}

/* Backup method using background image */
@supports (appearance: none) {
  .form-group select {
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23666" d="M1 1l5 5 5-5"/></svg>') no-repeat right 0.75rem center;
    background-size: 12px 8px;
  }
  
  .form-group select:focus {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%232b2d73" d="M1 1l5 5 5-5"/></svg>');
  }
  
  .select-wrapper::after {
    display: none;
  }
}

/* Responsive Mobile Input */
@media (max-width: 480px) {
  .country-code {
    padding: 0.875rem 0.5rem;
    min-width: 50px;
    font-size: 0.9rem;
  }
  
  .mobile-input-group input {
    padding: 0.875rem 0.75rem;
  }
}
/* Registration Success Message Styles */
.success-message {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 2rem 0;
  border-top: 4px solid #22c55e;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% { 
    transform: scale(0); 
    opacity: 0;
  }
  50% { 
    transform: scale(1.1); 
    opacity: 0.8;
  }
  100% { 
    transform: scale(1); 
    opacity: 1;
  }
}

.success-message h3 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.success-message p {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.registration-details {
  background: var(--alt);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.registration-details h4 {
  color: var(--primary);
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  text-align: center;
}

.registration-details p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: var(--text);
}

.registration-details strong {
  color: var(--primary-700);
  font-weight: 600;
}

/* Responsive success message */
@media (max-width: 768px) {
  .success-message {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .success-message h3 {
    font-size: 1.6rem;
  }
  
  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .registration-details {
    padding: 1rem;
    margin: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .success-message {
    padding: 1.5rem 1rem;
  }
  
  .success-message h3 {
    font-size: 1.4rem;
  }
  
  .success-message p {
    font-size: 1rem;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-actions button {
    width: 100%;
  }
}
/* Enhanced Mobile Input Validation Styles */
.mobile-input-group input.valid {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.mobile-input-group.valid {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.mobile-input-group input.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Real-time character count indicator */
.mobile-input-group::after {
  content: attr(data-length) '/' attr(data-max-length);
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--muted);
  pointer-events: none;
  background: white;
  padding: 0 0.25rem;
}

.mobile-input-group.valid::after {
  color: #22c55e;
}

.mobile-input-group.error::after {
  color: #dc3545;
}

/* Enhanced form hint for mobile inputs */
.form-hint.mobile-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.character-count {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.character-count.valid {
  color: #22c55e;
}

.character-count.error {
  color: #dc3545;
}

.character-count.warning {
  color: #f59e0b;
}
