<style>
select[multiple] {
  padding: 8px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
}

select[multiple] option {
  padding: 8px 12px;
  margin: 2px 0;
  border-radius: 4px;
}

select[multiple] option:checked {
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  color: white;
  font-weight: 600;
}

.field-hint {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}
</style>





.otp-container {
      margin-top: 15px;
      padding: 20px;
      background: #f8f9fa;
      border-radius: 8px;
      border-left: 4px solid #007bff;
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      transform: translateY(-10px);
      transition: all 0.3s ease;
      display: none;
    }

    .otp-container.show {
      opacity: 1;
      max-height: 300px;
      transform: translateY(0);
      display: block !important;
    }

    .otp-input-group {
      display: flex;
      gap: 10px;
      justify-content: center;
      margin: 15px 0;
    }

    .otp-digit {
      width: 45px;
      height: 45px;
      text-align: center;
      font-size: 18px;
      font-weight: bold;
      border: 2px solid #ddd;
      border-radius: 8px;
      transition: border-color 0.3s;
    }

    .otp-digit:focus {
      border-color: #007bff;
      outline: none;
      box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

    .confirm-otp-btn, .resend-otp-btn {
      margin: 5px;
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
    }

    .confirm-otp-btn {
      background: #28a745;
      color: white;
    }

    .resend-otp-btn {
      background: #6c757d;
      color: white;
    }

    .resend-otp-btn:disabled {
      background: #e9ecef;
      color: #6c757d;
      cursor: not-allowed;
    }

    .timer {
      color: #007bff;
      font-weight: bold;
      margin-left: 10px;
    }

    .verification-status {
      margin-top: 10px;
      padding: 10px;
      border-radius: 5px;
      display: none;
      align-items: center;
      gap: 8px;
    }

    .verification-status.verified {
      background: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
    }

    .verification-status.error {
      background: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
    }

    .mobile-verified {
      border-color: #28a745 !important;
      background-color: #f8fff9 !important;
    }

    .loading {
      opacity: 0.7;
      pointer-events: none;
    }

    .verify-btn.loading::after {
      content: "...";
      animation: loading 1s infinite;
    }

    @keyframes loading {
      0%, 33% { content: "."; }
      34%, 66% { content: ".."; }
      67%, 100% { content: "..."; }
    }

    /* Fallback styles if external CSS doesn't load */
    .form-wrapper {
      max-width: 900px;
      margin: 0 auto;
      padding: 20px;
    }

    .form-container {
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
    }

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

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

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #333;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 12px;
      border: 2px solid #ddd;
      border-radius: 8px;
      font-size: 16px;
      transition: border-color 0.3s;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: #007bff;
    }

    .submit-btn {
      width: 100%;
      padding: 15px;
      background: linear-gradient(135deg, #1565C0, #0D47A1);
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 18px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s;
    }

    .submit-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .success-message, .error-message {
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 20px;
      font-weight: 600;
    }

    .success-message {
      background: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
    }

    .error-message {
      background: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
    }
/* Confirm OTP Button */
#confirmEmailOtpBtn {
    background-color: #4CAF50;   /* Green background */
    color: white;                /* White text */
    border: none;                /* Remove default border */
    padding: 8px 16px;           /* Some padding */
    font-size: 14px;             /* Font size */
    border-radius: 5px;          /* Rounded corners */
    cursor: pointer;             /* Pointer on hover */
    transition: background-color 0.3s ease;
}

#confirmEmailOtpBtn:hover {
    background-color: #45a049;   /* Darker green on hover */
}

#confirmEmailOtpBtn:disabled {
    background-color: #ccc;      /* Gray background when disabled */
    cursor: not-allowed;
    color: #666;
}

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.9)), 
                  url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="0.5" cy="0.5" r="0.8"><stop offset="0%" stop-color="%23147bd1"/><stop offset="100%" stop-color="%232e5bb8"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23a)"/><g fill="rgba(255,255,255,0.05)"><circle cx="100" cy="100" r="50"/><circle cx="300" cy="200" r="30"/><circle cx="600" cy="150" r="40"/><circle cx="800" cy="300" r="25"/><circle cx="200" cy="400" r="35"/><circle cx="700" cy="450" r="20"/><circle cx="900" cy="600" r="45"/><circle cx="150" cy="700" r="30"/><circle cx="500" cy="750" r="40"/><circle cx="850" cy="850" r="25"/><polygon points="400,100 420,140 380,140" opacity="0.3"/><polygon points="750,200 770,240 730,240" opacity="0.3"/><polygon points="100,600 120,640 80,640" opacity="0.3"/><polygon points="650,700 670,740 630,740" opacity="0.3"/></g></svg>');
      background-size: cover;
      background-attachment: fixed;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }
    
    .form-wrapper {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(15px);
      border-radius: 25px;
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 
                  0 0 0 1px rgba(255, 255, 255, 0.3);
      max-width: 1000px;
      width: 100%;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.2);
      animation: formAppear 0.8s ease-out;
    }
    
    @keyframes formAppear {
      from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }
    
    .form-header {
      background: linear-gradient(135deg, #1565C0, #0D47A1);
      padding: 35px;
      text-align: center;
      color: white;
      position: relative;
      overflow: hidden;
    }
    
    .form-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="70" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="90" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>');
      animation: float 6s ease-in-out infinite;
    }
    
    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-5px); }
    }
    
    .form-header h2 {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 10px;
      position: relative;
      z-index: 1;
      text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    
    .form-header p {
      font-size: 16px;
      opacity: 0.95;
      position: relative;
      z-index: 1;
    }
    
    .form-container {
      padding: 45px;
    }
    
    .form-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 25px;
    }
    
    .form-group {
      position: relative;
    }
    
    .form-group.half {
      grid-column: span 1;
    }
    
    @media (min-width: 768px) {
      .form-grid {
        grid-template-columns: 1fr 1fr;
      }
      
      .form-group.full {
        grid-column: span 2;
      }
    }
    
    label {
      font-weight: 600;
      color: #1565C0;
      display: block;
      margin-bottom: 8px;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    
    input, select, textarea {
      width: 100%;
      padding: 16px 20px;
      border: 2px solid #e3f2fd;
      border-radius: 12px;
      font-size: 16px;
      background: #fafcff;
      transition: all 0.3s ease;
      outline: none;
    }
    
    input:focus, select:focus, textarea:focus {
      border-color: #1565C0;
      background: white;
      box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
      transform: translateY(-2px);
    }
    
    input:hover, select:hover, textarea:hover {
      border-color: #42A5F5;
    }
    
    textarea {
      resize: vertical;
      min-height: 80px;
    }
    
    select {
      cursor: pointer;
      background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNiA2TDExIDEiIHN0cm9rZT0iIzE1NjVDMCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+');
      background-repeat: no-repeat;
      background-position: right 20px center;
      background-size: 12px;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
    }

    /* Enhanced Location Search Dropdown */
    .location-search-container {
      position: relative;
    }

    .location-search {
      background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuMzMzIDEyLjY2N0MxMC4yNzYgMTIuNjY3IDEyLjY2NyAxMC4yNzYgMTIuNjY3IDcuMzMzQzEyLjY2NyA0LjM5IDEwLjI3NiAyIDcuMzMzIDJDNC4zOSAyIDIgNC4zOSAyIDcuMzMzQzIgMTAuMjc2IDQuMzkgMTIuNjY3IDcuMzMzIDEyLjY2N1oiIHN0cm9rZT0iIzE1NjVDMCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTE0IDE0TDExIDExIiBzdHJva2U9IiMxNTY1QzAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPg==');
      background-repeat: no-repeat;
      background-position: right 20px center;
      background-size: 16px;
      cursor: text;
    }

    .location-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      border: 2px solid #e3f2fd;
      border-top: none;
      border-radius: 0 0 12px 12px;
      max-height: 300px;
      overflow-y: auto;
      z-index: 1000;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
      display: none;
    }

    .location-dropdown.show {
      display: block;
    }

    .location-option {
      padding: 15px 20px;
      cursor: pointer;
      border-bottom: 1px solid #f5f5f5;
      transition: all 0.2s ease;
      font-size: 15px;
      display: flex;
      align-items: center;
    }

    .location-option:hover {
      background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
      color: #1565C0;
      font-weight: 500;
    }

    .location-option:last-child {
      border-bottom: none;
    }

    .location-option.highlighted {
      background: linear-gradient(135deg, #1565C0, #0D47A1);
      color: white;
      font-weight: 600;
    }

    .location-icon {
      margin-right: 10px;
      font-size: 16px;
    }

    .no-results {
      padding: 20px;
      text-align: center;
      color: #666;
      font-style: italic;
    }

    .location-count {
      background: linear-gradient(135deg, #4CAF50, #45a049);
      color: white;
      font-size: 12px;
      padding: 4px 8px;
      border-radius: 15px;
      margin-left: 10px;
      font-weight: 600;
    }

    .selected-location {
      background: #f1f8e9 !important;
      border-color: #4CAF50 !important;
      color: #2E7D32;
      font-weight: 600;
    }

    /* Mobile verification styles */
    .mobile-verification-container {
      position: relative;
    }

    .mobile-input-container {
      position: relative;
      display: flex;
      gap: 10px;
    }

    .mobile-input {
      flex: 1;
    }

    .verify-btn {
      background: linear-gradient(135deg, #FF9800, #F57C00);
      border: none;
      border-radius: 12px;
      color: white;
      
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      white-space: nowrap;
      min-width: 100px;
    }

    .verify-btn:hover {
      background: linear-gradient(135deg, #F57C00, #E65100);
      transform: translateY(-2px);
    }

    .verify-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .otp-container {
      display: none;
      margin-top: 15px;
      padding: 20px;
      background: #fff3e0;
      border-radius: 12px;
      border: 2px solid #ffcc02;
    }

    .otp-container.show {
      display: block;
      animation: slideDown 0.3s ease;
    }

    .otp-input-group {
      display: flex;
      gap: 10px;
      margin: 15px 0;
    }

    .otp-input {
      width: 50px !important;
      height: 50px;
      text-align: center;
      font-size: 18px;
      font-weight: bold;
      border: 2px solid #ffcc02 !important;
      border-radius: 8px;
      padding: 0 !important;
    }

    .otp-input:focus {
      border-color: #FF9800 !important;
      transform: scale(1.05);
    }

    .confirm-otp-btn {
      background: linear-gradient(135deg, #4CAF50, #45a049);
      border: none;
      border-radius: 8px;
      color: white;
      padding: 12px 20px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      margin-right: 10px;
    }

    .resend-otp-btn {
      background: transparent;
      border: 2px solid #FF9800;
      border-radius: 8px;
      color: #FF9800;
      padding: 10px 18px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
    }

    .verification-status {
      display: flex;
      align-items: center;
      margin-top: 10px;
      font-size: 14px;
      font-weight: 600;
    }

    .verification-status.verified {
      color: #4CAF50;
    }

    .verification-status.error {
      color: #f44336;
    }

    .verification-icon {
      margin-right: 8px;
      font-size: 16px;
    }

    .timer {
      color: #FF9800;
      font-weight: 600;
      margin-left: 10px;
    }

    .mobile-verified {
      border-color: #4CAF50 !important;
      background: #f1f8e9 !important;
    }
    
    /* File input styling */
    .file-input {
      border: 2px dashed #e3f2fd !important;
      background: #fafcff !important;
      cursor: pointer;
      position: relative;
      padding: 25px !important;
      text-align: center;
      transition: all 0.3s ease;
    }

    .file-input:hover {
      border-color: #42A5F5 !important;
      background: #f0f8ff !important;
      transform: translateY(-1px);
    }

    .file-input:focus {
      border-color: #1565C0 !important;
      background: white !important;
      box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
    }

    .file-info {
      display: block;
      margin-top: 8px;
      color: #666;
      font-size: 12px;
      font-style: italic;
      font-weight: normal;
    }

    /* Custom file input appearance */
    input[type="file"]::-webkit-file-upload-button {
      background: linear-gradient(135deg, #1565C0, #0D47A1);
      border: none;
      color: white;
      padding: 10px 20px;
      border-radius: 8px;
      cursor: pointer;
      margin-right: 15px;
      font-weight: 600;
      transition: all 0.3s ease;
      font-size: 14px;
    }

    input[type="file"]::-webkit-file-upload-button:hover {
      background: linear-gradient(135deg, #0D47A1, #0A3D91);
      transform: translateY(-1px);
      box-shadow: 0 4px 8px rgba(13, 71, 161, 0.3);
    }
    
    .submit-btn {
      width: 100%;
      padding: 20px;
      background: linear-gradient(135deg, #1565C0, #0D47A1);
      border: none;
      border-radius: 15px;
      color: white;
      font-size: 18px;
      font-weight: 700;
      cursor: pointer;
      margin-top: 30px;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
      position: relative;
      overflow: hidden;
    }
    
    .submit-btn::before {
      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.5s ease;
    }
    
    .submit-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 30px rgba(21, 101, 192, 0.4);
    }
    
    .submit-btn:hover::before {
      left: 100%;
    }
    
    .submit-btn:active {
      transform: translateY(-1px);
    }
    
    .submit-btn:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      transform: none;
      background: #ccc;
    }
    
    /* Required field indicator */
    .required::after {
      content: ' *';
      color: #f44336;
    }
    
    /* Success and Error message styling */
    .success-message {
      background: linear-gradient(135deg, #4CAF50, #45a049);
      color: white;
      padding: 18px;
      border-radius: 12px;
      margin-bottom: 25px;
      text-align: center;
      font-weight: 600;
      box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
      animation: slideDown 0.5s ease;
    }
    
    .error-message {
      background: linear-gradient(135deg, #f44336, #d32f2f);
      color: white;
      padding: 18px;
      border-radius: 12px;
      margin-bottom: 25px;
      text-align: center;
      font-weight: 600;
      box-shadow: 0 6px 15px rgba(244, 67, 54, 0.3);
      animation: slideDown 0.5s ease;
    }
    
    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Loading animation */
    .loading {
      position: relative;
    }

    .loading::after {
      content: '';
      position: absolute;
      right: 50px;
      top: 50%;
      transform: translateY(-50%);
      width: 16px;
      height: 16px;
      border: 2px solid #e3f2fd;
      border-top: 2px solid #1565C0;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: translateY(-50%) rotate(0deg); }
      100% { transform: translateY(-50%) rotate(360deg); }
    }
.otp-container {
  margin-top: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.otp-container.show {
  opacity: 1;
  max-height: 300px;
  display: block !important;
}

.otp-input-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 15px 0;
}

.otp-digit {
  width: 45px;
  height: 45px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.otp-digit:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.confirm-otp-btn, .resend-otp-btn {
  margin: 5px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.confirm-otp-btn {
  background: #28a745;
  color: white;
}

.resend-otp-btn {
  background: #6c757d;
  color: white;
}

.resend-otp-btn:disabled {
  background: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}

.timer {
  color: #007bff;
  font-weight: bold;
  margin-left: 10px;
}

.verification-status {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
}

.verification-status.verified {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.verification-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.verification-icon {
  font-size: 18px;
  font-weight: bold;
}
