/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  min-height: 100vh;
  background: #fff;
  padding-bottom: 60px;
  scroll-behavior: smooth;
}

/* ===== HEADER STYLES ===== */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px; /* Reduced height */
  background: #8b0000;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 5px 0; /* Less padding */
}

.fixed-header.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.header-content {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 32px 16px 20px;
  height: 100%;
}


.back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.back-button {
  color: rgb(255, 255, 255);
  background-color: rgb(103, 46, 46);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.logo-container {
  display: flex;
  align-items: center;
  margin-right: 15px;
  margin-left: 0;
  position: relative;
}

.logo {
  width: 40px;
  height: 40px; /* Smaller logo */
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  background: rgba(255, 212, 0, 0.2);
  border-radius: 50%;
  filter: blur(20px);
  animation: pulse 4s ease-in-out infinite;
  z-index: 1;
}

.title {
  font-size: 1.2rem; /* Smaller title text */
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  text-align: left;
  flex: 1;
}

/* ===== REGISTRATION CONTAINER ===== */
.register-container {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 20px 40px;
}

.register-card {
  position: relative;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 0, 0, 0.2), rgba(255, 255, 0, 0.2));
  border-radius: 16px;
  filter: blur(40px);
  pointer-events: none; /* Prevent glow overlay from intercepting clicks on form elements */
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.subtitle {
  color: #8b0000;
  font-size: 1.1rem;
  margin: 0 0 24px 0;
  font-weight: bold;
  text-align: center;
}

.subtitle i {
  margin-right: 8px;
}

.description {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 24px;
  text-align: center;
}

/* ===== FORM STYLES ===== */
.form-group {
  margin-bottom: 12px; /* Less space between form groups */
  position: relative;
}

.form-group-visitor {
  margin-bottom: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.form-group-visitor.show {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

.form-group-visitor.hide {
  display: none !important;
  opacity: 0;
  transform: translateY(-10px);
}

.form-label {
  display: block;
  font-size: 0.9rem; /* Bigger labels */
  font-weight: 500;
  color: #374151;
  margin-bottom: 3px;
}

.form-label i {
  margin-right: 8px;
  color: #8b0000;
}

.form-input {
  width: 100%;
  padding: 8px 12px; /* Smaller input fields */
  border: 2px solid #d1d5db;
  border-radius: 12px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.form-input select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form-input select:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238B0000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

.form-input:focus {
  outline: none;
  border-color: #8b0000;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

/* Add validation styling */
.form-input.valid {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-input.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-help {
  display: block;
  font-size: 0.85em;
  margin-top: 5px;
  line-height: 1.4;
}

/* Disabled input styling */
.form-input:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

/* ===== PASSWORD TOGGLE STYLES ===== */
.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-container .form-input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  font-size: 1.1rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  z-index: 2;
}

.password-toggle:hover {
  color: #8b0000;
}

.password-toggle:focus {
  outline: none;
  color: #8b0000;
}

.password-toggle i {
  pointer-events: none;
}

.password-container .form-input:focus {
  outline: none;
  border-color: #8b0000;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

/* ===== BUTTON STYLES ===== */
.submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(45deg, #8b0000, #b22222);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn:hover {
  background: linear-gradient(45deg, #7f1d1d, #991b1b);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  background: #6b7280;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.additional-links {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.additional-links p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.additional-links a {
  color: #8b0000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.additional-links a:hover {
  color: #7f1d1d;
  text-decoration: underline;
}

/* ===== TOAST NOTIFICATION STYLES ===== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
}

.toast {
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  min-width: 300px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  background: white;
}

.toast.toast-success {
  border-left: 4px solid #28a745;
  color: #155724;
}

.toast.toast-error {
  border-left: 4px solid #dc3545;
  color: #721c24;
}

.toast.toast-info {
  border-left: 4px solid #17a2b8;
  color: #0c5460;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.hide {
  opacity: 0;
  transform: translateX(100%);
}

.toast i {
  margin-right: 12px;
  font-size: 1.2em;
}

.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.1em;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

/* ===== SPECIAL LABEL STYLES ===== */
.optional {
  color: #666;
  font-weight: normal;
  font-size: 0.8em;
}

.required {
  color: #dc3545;
}

/* Hide/show conditional fields */
.form-group[style*="display: none"] {
  display: none !important;
}

/* Update existing message styles to be hidden by default */
.error-message,
.success-message {
  display: none;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 5px;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

/* Helper text styles */
.helper-text {
  font-size: 0.75rem;
  color: #666;
  margin-top: 5px;
  display: block;
}

.helper-text.error-text,
.helper-text[style*="color: rgb(244, 67, 54)"] {
  font-weight: 500;
  font-size: 0.85rem;
}

/* Error input border styling */
.form-input.error-input,
.form-select.error-input {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

/* ===== PASSWORD STRENGTH INDICATOR ===== */
.password-strength {
  margin-top: 8px;
  font-size: 12px;
  display: none;
  align-items: center;
  gap: 8px;
}

.password-strength.show {
  display: flex;
}

.strength-bar {
  height: 4px;
  width: 80px;
  background: #e1e5e9;
  border-radius: 2px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-text {
  font-weight: 600;
  font-size: 11px;
}

/* ===== PASSWORD MATCH INDICATOR ===== */
.password-match {
  margin-top: 5px;
  font-size: 12px;
  display: none;
  align-items: center;
  gap: 5px;
}

.password-match.show {
  display: flex;
}

.password-match.match {
  color: #28a745;
}

.password-match:not(.match) {
  color: #dc3545;
}

/* ===== PASSWORD REQUIREMENTS ===== */
.password-requirements {
  margin-top: 8px;
  font-size: 11px;
  color: #666;
  display: none;
}

.password-requirements.show {
  display: block;
}

.requirement {
  display: flex;
  align-items: center;
  margin: 2px 0;
  gap: 5px;
}

.requirement.met {
  color: #28a745;
}

.requirement:not(.met) {
  color: #dc3545;
}

.requirement i {
  font-size: 10px;
  width: 12px;
}

/* ===== PROFILE PICTURE UPLOAD ===== */
.profile-title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.profile-title .required {
  color: #dc3545;
}

.profile-instruction {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.profile-upload-container {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.file-selection-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.upload-btn {
  background: linear-gradient(45deg, #8b0000, #b22222);
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  transition: all 0.3s ease;
}

.upload-btn:hover {
  background: linear-gradient(45deg, #7f1d1d, #991b1b);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

#fileNameDisplay {
  font-size: 0.95rem;
  color: #6b7280;
  margin-left: 10px;
}

.profile-image-preview {
  width: 150px;
  height: 150px;
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  overflow: hidden;
  background-color: #f9fafb;
}

.profile-image-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* ===== AGREE TERMS CHECKBOX ===== */
.agree-terms {
  margin-top: 1.5rem;
}

.agree-terms .form-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
}

.agree-terms input[type="checkbox"] {
  margin-top: 0.2rem;
  cursor: pointer;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .header-content {
    padding: 10px 16px;
  }
  .logo-container {
    margin-left: 0;
    margin-right: 12px;
  }
  .landscape-container {
    max-width: 95vw;
    padding: 10px;
    margin-top: 75px;
  }
  .landscape-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .fixed-header {
    height: auto;
    min-height: 60px;
  }
  .header-content {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 12px;
    gap: 6px;
  }
  .logo-container {
    margin: 0;
    margin-right: 8px;
  }
  .logo {
    width: 32px;
    height: 32px;
  }
  .title {
    font-size: 0.85rem;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
  }
  .back-button {
    padding: 5px 10px;
    font-size: 0.75rem;
    gap: 4px;
  }
  .register-container {
    max-width: 95vw;
    padding: 80px 10px 40px;
  }
  .landscape-container {
    max-width: 95vw;
    padding: 8px;
    margin-top: 65px;
  }
  .card {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .register-form-card {
    padding: 15px 14px;
  }
  .split-form {
    flex-direction: column;
    gap: 15px;
  }
  .form-column {
    flex: 1 1 100%;
    min-width: 0;
    padding: 12px;
  }
  .form-sections-header {
    gap: 20px;
    margin-bottom: 10px;
  }
  .section-title {
    font-size: 0.75rem;
  }
  .section-number {
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
  }
  .register-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .column-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .form-label {
    font-size: 0.9rem;
  }
  .form-input {
    padding: 10px 12px;
    font-size: 0.88rem;
  }
  select.form-select {
    height: 38px;
    font-size: 0.85rem;
  }
  .upload-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  .profile-image-preview {
    width: 120px;
    height: 120px;
  }
  .submit-btn {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
  .register-btn {
    max-width: 100%;
    font-size: 1rem;
  }
  .form-footer {
    padding: 12px;
  }
  .checkbox-text {
    font-size: 0.82rem;
  }
  .toast-container {
    right: 10px;
    left: 10px;
    max-width: none;
  }
  .toast {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 6px 8px;
    gap: 4px;
  }
  .logo {
    width: 28px;
    height: 28px;
  }
  .title {
    font-size: 0.72rem;
    line-height: 1.2;
  }
  .back-button {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  .landscape-container {
    padding: 6px;
    margin-top: 55px;
  }
  .card {
    padding: 14px 10px;
  }
  .register-form-card {
    padding: 12px 10px;
  }
  .register-title {
    font-size: 1.05rem;
  }
  .form-column {
    padding: 10px 8px;
  }
  .column-title {
    font-size: 0.9rem;
  }
  .form-group {
    margin-bottom: 8px;
  }
  .form-label {
    font-size: 0.82rem;
    margin-bottom: 3px;
  }
  .form-input {
    padding: 8px 10px;
    font-size: 0.82rem;
    border-radius: 8px;
  }
  select.form-select {
    height: 36px;
    padding: 6px 10px;
    font-size: 0.82rem;
  }
  .helper-text {
    font-size: 0.68rem;
  }
  .upload-btn {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
  .choose-profile-photo {
    font-size: 0.9rem;
  }
  #fileNameDisplay, #referralFileNameDisplay {
    font-size: 0.78rem;
  }
  .profile-image-preview {
    width: 100px;
    height: 100px;
  }
  .radio-group {
    gap: 12px;
  }
  .submit-btn {
    padding: 10px 14px;
    font-size: 0.88rem;
  }
  .register-btn {
    padding: 10px;
    font-size: 0.92rem;
  }
  .form-footer {
    padding: 10px 8px;
  }
  .checkbox-text {
    font-size: 0.76rem;
  }
  .form-sections-header {
    gap: 15px;
  }
  .section-title {
    font-size: 0.68rem;
  }
  .section-number {
    width: 20px;
    height: 20px;
    font-size: 0.72rem;
  }
  .password-strength-text {
    font-size: 0.7rem;
  }
}

/* Keep all existing CSS here and append these new styles */

/* Password strength meter */
.password-strength-meter {
    width: 100%;
    height: 5px;
    background-color: #eee;
    margin: 5px 0;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.password-strength-meter-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease, background-color 0.3s ease;
    width: 0;
}

.strength-weak {
    background-color: #f44336;
    width: 25%;
}

.strength-fair {
    background-color: #ff9800;
    width: 50%;
}

.strength-good {
    background-color: #4caf50;
    width: 75%;
}

.strength-strong {
    background-color: #2e7d32;
    width: 100%;
}

.password-strength-text {
    font-size: 0.8em;
    color: #666;
    margin-top: 2px;
}

/* File validation error */
.file-error {
    color: #f44336;
    font-size: 0.8em;
    margin-top: 5px;
    display: none;
}

/* Image preview */
.image-preview {
    max-width: 100%;
    max-height: 150px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: none;
}

/* Optional field indicator */
.optional {
    font-size: 0.8em;
    font-weight: normal;
    color: #666;
    margin-left: 5px;
}

/* Fix password toggle icon positioning */
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

/* Make form labels bigger */
.form-label {
    font-size: 1.05em;
    font-weight: 500;
}

/* More padding for select boxes */
select.form-select {
    padding: 8px 12px;
    height: 42px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

select.form-select:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238B0000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Ensure register title styling is consistent */
.register-title {
    color: #8b0000;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 15px;
}

/* Additional styles for checkbox text */
.checkbox-text {
    font-size: 0.9em;
    line-height: 1.4;
}

/* Birthdate and age fields styling */
input[type="date"].form-input {
    padding-right: 10px;
}

.error-text {
    color: #f44336;
    display: none;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Enhanced Email Field Styling */
.form-group label[for="email"] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input[type="email"] {
    border: 2px solid #d1d5db;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input[type="email"]:focus {
    border-color: #8b0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.2);
}

.error-message.email-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 6px;
    animation: fadeIn 0.3s ease;
}

/* Enhanced Profile Upload Button */
.form-group label[for="profile_pic"] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.fas.fa-cloud-upload-alt {
   color: #ffffff;
  font-size: 1.2rem;
  margin-right: 8px;
}

.choose-profile-photo {
  color: #ffffff;
  font-size: 1.2rem;
}

.choose-profile-photo i {
  margin-right: 8px;
}

.profile-upload-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.upload-btn {
    background: linear-gradient(45deg, #8b0000, #b22222);
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: linear-gradient(45deg, #7f1d1d, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

#fileNameDisplay {
    font-size: 0.95rem;
    color: #6b7280;
    margin-left: 10px;
}

.profile-image-preview {
    width: 150px;
    height: 150px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    overflow: hidden;
    background-color: #f9fafb;
}

.profile-image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Split Form Layout */
.landscape-container {
    padding: 10px;
    max-width: 1200px; /* Wider container for landscape view */
    margin: 0 auto;
    margin-top: 80px; /* Adjusted to account for smaller header */
}

.landscape-card {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.split-form {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.form-column {
    flex: 1 1 45%; /* Two columns of roughly equal width */
    min-width: 300px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.column-title {
    font-size: 1.1rem;
    color: #8b0000;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer {
    flex-basis: 100%;
    margin-top: 10px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

/* Section indicators */
.form-sections-header {
    display: flex;
    justify-content: center;
    margin-bottom: 15px; /* Less margin */
    gap: 50px; /* Reduced gap */
}

.section-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
}

.section-indicator.active {
    opacity: 1;
}

.section-number {
    width: 25px; /* Smaller circles */
    height: 25px;
    background-color: #8b0000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
}

.section-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
    .split-form {
        flex-direction: column;
    }

    .form-column {
        flex: 1 1 100%;
    }
}

/* Larger form card for more space */
.register-form-card {
    padding: 15px 25px; /* Less padding */
}

/* Adjust the main submit button to be more prominent */
.register-btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    padding: 12px;
    font-size: 1.1rem;
}

/* Improve responsiveness */
@media screen and (max-height: 800px) {
    .form-group {
        margin-bottom: 8px;
    }
    
    .form-input, .form-select {
        padding: 6px 10px;
    }
    
    .profile-image-preview img {
        max-height: 100px;
    }
}

/* School input field styling */
#schoolInput {
    transition: all 0.3s ease;
}

#schoolInput.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

#schoolInput label i {
    color: #8b0000;
    margin-right: 8px;
}

#schoolInput input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

#schoolInput input:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}