/* ==========================================================================
   GLOBAL RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
  --bg: #ffffff;
  --muted: #001f3f;
  --accent: #228B22;
  --light-gray: #f8f9fa;
  --border-color: #dee2e6;
}

/* ==========================================================================
   BODY
   ========================================================================== */
body {
  background-color: #ffffff;
  color: #001f3f;
  font-size: 16px;
  line-height: 1.5;
  padding: 20px;
  margin: 0;
}

/* ==========================================================================
   HEADER & CONTAINERS
   ========================================================================== */
header {
  padding: 12px 8px;
  border-bottom: 1px solid #ddd;
}

#centerContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-container,
.login-container,
.register-invitation {
  padding: 1rem;
}

main {
  padding: 1rem;
}

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

.section {
  margin-bottom: 2rem;
}
/* ==========================================================================
   LOCATION & FIELD STYLES
   ========================================================================== */
.location-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.location-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-location {
  padding: 8px 16px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.btn-location:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.location-status {
  font-size: 13px;
  color: #666;
  padding: 5px 0;
}

.location-status.success {
  color: #4CAF50;
}

.location-status.error {
  color: #f44336;
}
/* ==========================================================================
   EMPLOYMENT VERIFICATION STYLES (Used in register.html, review.html)
   Add this section after the LOCATION & FIELD STYLES section in your styles.css
   ========================================================================== */

.employment-notice {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.employment-notice .notice-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.employment-notice h3 {
  margin: 10px 0;
  font-size: 20px;
  color: white;
}

.employment-notice .company-name {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.employment-notice .notice-info {
  font-size: 14px;
  opacity: 0.95;
  margin: 10px 0 15px 0;
}

.btn-verify {
  background-color: white;
  color: #667eea;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-verify:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* ==========================================================================
   LOGO
   ========================================================================== */
#centerContainer img,
img[src*="logo"] {
  max-height: 150px;
  width: auto;
  height: auto;
  border: none;
  outline: none;
  box-shadow: none;
  max-width: 100%;
}

/* ==========================================================================
   DISPLAY NAME
   ========================================================================== */
#displayName,
.display-name {
  font-weight: bold;
  font-size: 1.5rem;
  color: #001f3f;
  margin-top: 0.75rem;
}

/* ==========================================================================
   STANDARDIZED BUTTON SYSTEM
   ========================================================================== */
.btn, button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
  box-sizing: border-box;
  margin: 0.25rem;
}

/* Primary Button */
.btn-primary {
  background-color: #228B22;
  color: #fff;
}
.btn-primary:hover {
  background-color: #2e8b57;
}
.btn-primary:focus {
  background-color: #2e8b57;
  outline: 2px solid #1e5f3a;
  outline-offset: 2px;
}
.btn-primary:active {
  background-color: #1e5f3a;
  transform: translateY(1px);
}
.btn-primary:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Success Button */
.btn-success {
  background-color: #25D366;
  color: #fff;
}
.btn-success:hover {
  background-color: #1ebe5d;
}
.btn-success:focus {
  background-color: #1ebe5d;
  outline: 2px solid #169c4a;
  outline-offset: 2px;
}
.btn-success:active {
  background-color: #169c4a;
  transform: translateY(1px);
}
.btn-success:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Secondary Button */
.btn-secondary {
  background-color: #6c757d;
  color: #fff;
}
.btn-secondary:hover {
  background-color: #545b62;
}
.btn-secondary:focus {
  background-color: #545b62;
  outline: 2px solid #3e444a;
  outline-offset: 2px;
}
.btn-secondary:active {
  background-color: #3e444a;
  transform: translateY(1px);
}
.btn-secondary:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Danger Button */
.btn-danger {
  background-color: red;
  color: #fff;
}
.btn-danger:hover {
  background-color: #c82333;
}
.btn-danger:focus {
  background-color: #c82333;
  outline: 2px solid #a71d2a;
  outline-offset: 2px;
}
.btn-danger:active {
  background-color: #a71d2a;
  transform: translateY(1px);
}
.btn-danger:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Button Groups */
.btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-group-vertical {
  flex-direction: column;
  align-items: stretch;
}

.btn-group-back {
  justify-content: flex-start;
  margin-top: 0;
  margin-bottom: 5px;
}

/* ==========================================================================
   EMAIL VERIFICATION NOTIFICATION BANNER
   ========================================================================== */
.verification-banner {
  display: none;
  background-color: #f8d7da;
  border: 2px solid #dc3545;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 10px 0 20px 0;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.verification-banner:hover {
  background-color: #f1c2c7;
  border-color: #bd2130;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

.verification-banner-content {
  color: #721c24;
  font-weight: 600;
  font-size: 1.1rem;
}

.verification-banner-content .verify-link {
  color: #dc3545;
  text-decoration: underline;
  font-weight: 700;
}

.verification-banner.loading {
  opacity: 0.7;
  cursor: wait;
  pointer-events: none;
}

/* ==========================================================================
   ACCOUNT PAGE SPECIFIC STYLES
   ========================================================================== */
h1 {
  margin-top: 5px;
}

.account-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--light-gray);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.field-label {
  font-weight: 600;
  color: var(--muted);
  min-width: 150px;
}

.field-value {
  font-weight: 400;
  color: #555;
  flex-grow: 1;
  text-align: right;
  font-family: monospace;
  background: white;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

/* Status indicators */
.status-active {
  color: #28a745;
  font-weight: bold;
}

.status-inactive {
  color: #dc3545;
  font-weight: bold;
}

.status-pending {
  color: #ffc107;
  font-weight: bold;
}

/* ==========================================================================
   SUPPORT PAGE SPECIFIC STYLES
   ========================================================================== */
.support-form {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  border-left: 4px solid var(--accent);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-textarea {
  width: 100%;
  min-height: 150px;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  resize: vertical;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
}

.form-textarea:focus,
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(34, 139, 34, 0.2);
}

.recaptcha-container {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

.recaptcha-text {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin: 0;
}

.submit-container {
  text-align: center;
  margin-top: 1.5rem;
}

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

/* ==========================================================================
   ALERT STYLES
   ========================================================================== */
.alert {
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
}

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

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  padding: 12px 8px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.85em;
  color: #666;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h2, h3, h4, h5, h6 {
  color: red;
  margin: 1rem 0;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: black;
}

.small {
  font-size: 0.9rem;
}

.note {
  color: red;
}

.text-muted {
  color: #6c757d;
}

/* ==========================================================================
   LINKS
   ========================================================================== */
a {
  color: blue;
  text-decoration: underline;
}
a:visited {
  color: blue;
}
a:hover {
  color: red;
  text-decoration: none;
}
a:active {
  color: green;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
input, textarea, select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid black;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 0;
  background-color: white;
  color: black;
}

/* ==========================================================================
   QR & BOXES
   ========================================================================== */
.qr-container {
  width: 100px;
  height: 100px;
  border: 1px solid black;
  background: white;
  margin: 0 auto;
  padding: 5px;
  display: inline-block;
}

/* ==========================================================================
   CONFIRM PAGE SPECIFIC STYLES
   ========================================================================== */
.confirm-page {
  background: #f7f7f7;
  font-family: Arial, sans-serif;
}

.confirm-page .container {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  padding: 22px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.confirm-page h1 {
  margin: 0 0 26px 0;
  font-size: 1.4rem;
}

.logo-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.logo-wrap img {
  height: 200px;
  max-width: 100%;
  object-fit: contain;
}

#profileName {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

th, td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #eee;
}

th {
  background: #f9f9f9;
}

.btn-wrap {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

#backBtn {
  background: #6c757d;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

#backBtn:hover {
  background: #5a6268;
}

#confirmBtn {
  background: #28a745;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

#confirmBtn:hover {
  background: #218838;
}

/* ==========================================================================
   REVIEW PAGE SPECIFIC STYLES
   ========================================================================== */
.review-page h1 {
  margin-top: 5px;
}

/* Personal section grid layout */
.personal-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}

/* QR Section styles */
.qr-section {
  display: flex;
  flex-direction: column;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  max-width: 320px;
  margin: 0 auto;
}

.qr-section h4 {
  margin: 0 0 15px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.qr-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  text-align: left;
}

.qr-consent input[type="checkbox"] {
  margin: 2px 0 0 0;
  flex-shrink: 0;
}

.qr-consent label {
  flex: 1;
  line-height: 1.3;
  color: #444;
  white-space: nowrap;
}

.qr-consent a {
  color: #0077cc;
  text-decoration: none;
}

.qr-consent a:hover {
  text-decoration: underline;
}

/* QR section button override for smaller size */
.qr-section .btn {
  align-self: center;
  font-size: 0.9rem !important;
  padding: 10px 16px !important;
  margin-bottom: 15px;
  min-width: 160px;
}

.review-page .qr-frame {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  margin: 0 auto;
  display: block;
}

/* ==========================================================================
   REGISTRATION DETAILS PAGE SPECIFIC STYLES
   ========================================================================== */
.registration-details-page {
  font-family: Arial, sans-serif;
  text-align: center;
  background: #f7f7f7;
  margin: 0;
  padding: 20px;
}

.registration-details-page .register-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  box-sizing: border-box;
}

.registration-details-page .logo {
  max-height: 120px;
  width: auto;
  margin: 15px auto;
  display: block;
}

.saved-info {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #155724;
}

.registration-details-page h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.registration-details-page .form-field {
  text-align: left;
  margin-bottom: 15px;
}

.registration-details-page label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.registration-details-page input[type="text"],
.registration-details-page input[type="email"],
.registration-details-page input[type="password"],
.registration-details-page input[type="tel"] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Password field container */
.password-container {
  position: relative;
}

.password-container input[type="password"],
.password-container input[type="text"] {
  padding-right: 45px; /* Make room for the eye icon */
}

/* Password toggle eye icon */
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  font-size: 18px;
  user-select: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.password-toggle:hover {
  opacity: 1;
}

.registration-details-page .checkbox-field {
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-align: left;
}

.registration-details-page .checkbox-field input {
  margin-right: 8px;
}

.registration-details-page .button-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.registration-details-page .btn {
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  box-sizing: border-box;
}

.registration-details-page .btn-register {
  background-color: #007bff;
  color: white;
}

.registration-details-page .btn-back {
  background-color: #6c757d;
  color: white;
}

.registration-details-page .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #ccc !important;
}

.registration-details-page .small {
  font-size: 0.85rem;
  color: #a00;
  margin-top: 10px;
  min-height: 18px;
  text-align: center;
}

.registration-details-page .note,
.registration-details-page .info-text {
  font-size: 0.8rem;
  color: #555;
  margin-top: 10px;
  text-align: left;
}

.registration-details-page a {
  color: #007bff;
  text-decoration: none;
}

.registration-details-page a:hover {
  text-decoration: underline;
}

.recaptcha-status {
  font-size: 0.8rem;
  margin: 5px 0;
  text-align: center;
  color: #666;
  min-height: 18px;
}

.recaptcha-verified {
  color: #28a745;
  font-weight: bold;
}

/* ==========================================================================
   REGISTER PAGE SPECIFIC STYLES
   ========================================================================== */
.register-page {
  font-family: Arial, sans-serif;
  text-align: center;
  background: #f7f7f7;
  margin: 0;
  padding: 20px;
}

.register-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  box-sizing: border-box;
}

.register-page .logo {
  max-height: 120px;
  width: auto;
  margin: 15px auto;
  display: block;
}

.register-page h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-field {
  text-align: left;
  margin-bottom: 15px;
}

.form-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.register-page input[type="text"],
.register-page input[type="email"],
.register-page input[type="password"],
.register-page input[type="tel"] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.checkbox-field {
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-align: left;
}

.checkbox-field input {
  margin-right: 8px;
}

.register-page .button-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.register-page .btn {
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  box-sizing: border-box;
}

.btn-register {
  background-color: #007bff;
  color: white;
}

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

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

.register-page .small {
  font-size: 0.85rem;
  color: #a00;
  margin-top: 10px;
  min-height: 18px;
  text-align: center;
}

.note,
.info-text {
  font-size: 0.8rem;
  color: #555;
  margin-top: 10px;
  text-align: left;
}

.register-page a {
  color: #007bff;
  text-decoration: none;
}

.register-page a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RATE PROFILE PAGE SPECIFIC STYLES
   ========================================================================== */
.rate-profile-page {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  margin: 0;
  padding: 20px;
}

.rate-profile-page .container {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  padding: 22px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.rate-profile-page h1 {
  margin: 0 0 26px 0;
  font-size: 1.4rem;
}

.rate-profile-page #profileName {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 12px;
}

.rating-legend {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 18px;
}

.rating-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.rating-label {
  flex: 0 0 240px;
  font-weight: 700;
  color: #222;
}

.stars {
  display: flex;
  gap: 8px;
  align-items: center;
}

.star {
  font-size: 26px;
  line-height: 1;
  color: #cfcfcf;
  cursor: pointer;
  transition: color .12s ease, transform .08s ease;
  user-select: none;
}

.star:hover {
  transform: translateY(-3px);
}

.star.selected {
  color: #f5b301;
}

.star.hoverPreview {
  color: #f7d77a;
}

.submit-wrap {
  margin-top: 20px;
  text-align: right;
}

.rate-profile-page button[type="submit"] {
  background: #28a745;
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.rate-profile-page button[type="submit"]:hover {
  background: #218838;
}

.share-links {
  text-align: center;
  margin-bottom: 12px;
}

.share-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #007bff;
  font-weight: 600;
}

.latest-rating {
  margin-top: 30px;
  padding: 16px;
  border-radius: 6px;
  background: #f1f1f1;
}

.latest-rating h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.latest-rating ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.latest-rating li {
  padding: 4px 0;
}

.rate-profile-page .logo-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.rate-profile-page .logo-wrap img {
  height: 200px;
  max-width: 100%;
  object-fit: contain;
}

/* ==========================================================================
   PUBLIC PROFILE PAGE SPECIFIC STYLES
   ========================================================================== */
.public-profile-page #site-header button:not(:last-child) {
  margin-bottom: 8px;
}

.public-profile-page .rating-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
}

.public-profile-page .rating-table th,
.public-profile-page .rating-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.public-profile-page .rating-table th {
  background-color: #f5f5f5;
}

.public-profile-page .container {
  max-width: 700px;
  margin: auto;
}

.profile-header {
  text-align: center;
  margin-top: 20px;
}

.public-profile-page .rating-summary {
  font-size: 18px;
  margin-top: 15px;
  font-weight: bold;
}

.public-profile-page .error {
  color: red;
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
}

/* Header text resize to double */
.profile-header h1 {
  font-size: 3rem;
}

/* ==========================================================================
   PERSONAL PROFILE PAGE SPECIFIC STYLES (with Bootstrap overrides)
   ========================================================================== */
.personal-profile-page .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
  box-sizing: border-box;
}

.personal-profile-page .btn-primary {
  background-color: #228B22 !important;
  color: #fff !important;
}
.personal-profile-page .btn-primary:hover {
  background-color: #2e8b57 !important;
}
.personal-profile-page .btn-primary:focus {
  background-color: #2e8b57 !important;
  outline: 2px solid #1e5f3a;
  outline-offset: 2px;
  box-shadow: none !important;
}
.personal-profile-page .btn-primary:active {
  background-color: #1e5f3a !important;
  transform: translateY(1px);
}
.personal-profile-page .btn-primary:disabled {
  background-color: #a0a0a0 !important;
  cursor: not-allowed;
  opacity: 0.6;
}

.personal-profile-page .btn-success {
  background-color: #25D366 !important;
  color: #fff !important;
}
.personal-profile-page .btn-success:hover {
  background-color: #1ebe5d !important;
}
.personal-profile-page .btn-success:focus {
  background-color: #1ebe5d !important;
  outline: 2px solid #169c4a;
  outline-offset: 2px;
  box-shadow: none !important;
}
.personal-profile-page .btn-success:active {
  background-color: #169c4a !important;
  transform: translateY(1px);
}
.personal-profile-page .btn-success:disabled {
  background-color: #a0a0a0 !important;
  cursor: not-allowed;
  opacity: 0.6;
}

.personal-profile-page .btn-secondary {
  background-color: #6c757d !important;
  color: #fff !important;
}
.personal-profile-page .btn-secondary:hover {
  background-color: #545b62 !important;
}
.personal-profile-page .btn-secondary:focus {
  background-color: #545b62 !important;
  outline: 2px solid #3e444a;
  outline-offset: 2px;
  box-shadow: none !important;
}
.personal-profile-page .btn-secondary:active {
  background-color: #3e444a !important;
  transform: translateY(1px);
}
.personal-profile-page .btn-secondary:disabled {
  background-color: #a0a0a0 !important;
  cursor: not-allowed;
  opacity: 0.6;
}

.personal-profile-page .btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.personal-profile-page .btn-group-vertical {
  flex-direction: column;
  align-items: stretch;
}

.rating-table th,
.rating-table td {
  text-align: center;
}

.rating-summary {
  font-size: 1.2rem;
  margin-top: 10px;
  font-weight: bold;
}

.error {
  color: red;
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
}

.qr-frame {
  width: 100%;
  max-width: 260px;
  height: 260px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  background: white;
  margin: auto;
  display: block;
}

/* ==========================================================================
   PERSONAL PAGE SPECIFIC STYLES
   ========================================================================== */
.personal-page #site-header button:not(:last-child) {
  margin-bottom: 8px;
}

.personal-page fieldset {
  border: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.personal-page fieldset legend {
  font-weight: bold;
  margin-bottom: 4px;
  display: block;
}

.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.inline-options label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.required-field {
  position: relative;
}

.required-field::after {
  content: " *";
  color: red;
}

input[readonly],
select[readonly] {
  background-color: #f0f0f0;
  cursor: not-allowed;
}

.edit-hint {
  font-size: 0.85em;
  color: #666;
  font-style: italic;
}

.readonly-notice {
  font-size: 0.85em;
  color: #666;
  font-style: italic;
  margin-top: 3px;
}

#consent {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#consent + span {
  vertical-align: middle;
  margin-left: 10px;
}

.selfie-section {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin: 15px 0;
  background: #fafafa;
}

.selfie-preview {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #007bff;
  margin-bottom: 15px;
  display: none;
}

.selfie-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.selfie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.selfie-btn.primary {
  background: #007bff;
  color: white;
}

.selfie-btn.primary:hover {
  background: #0056b3;
}

.selfie-btn.secondary {
  background: #6c757d;
  color: white;
}

.selfie-btn.secondary:hover {
  background: #545b62;
}

.selfie-btn.danger {
  background: #dc3545;
  color: white;
}

.selfie-btn.danger:hover {
  background: #c82333;
}

.camera-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.camera-container {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
}

#cameraVideo {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.camera-controls {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.camera-btn {
  padding: 15px 25px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.capture-btn {
  background: #28a745;
  color: white;
  font-size: 18px;
}

.capture-btn:hover {
  background: #218838;
}

.cancel-btn {
  background: #dc3545;
  color: white;
}

.cancel-btn:hover {
  background: #c82333;
}

.file-input {
  display: none;
}

.inline-options input[type="radio"],
.inline-options input[type="checkbox"] {
  margin-right: 8px;
}

#age {
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
}

#age:focus {
  background-color: white;
  border-color: #007bff;
  outline: none;
}

.consent-box {
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 15px;
}

.consent-label {
  display: flex;
  align-items: center;
}

.button-row {
  margin-top: 15px;
}

/* ==========================================================================
   GENERATE CV PAGE SPECIFIC STYLES
   ========================================================================== */
.generate-cv-page * {
  box-sizing: border-box;
}

.generate-cv-page {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.4;
  background-color: #f8f9fa;
}

.generate-cv-page .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.cv-preview {
  background: white;
  margin: 16px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 800px;
}

.cv-header {
  border-bottom: 2px solid #333;
  padding-bottom: 16px;
  margin-bottom: 24px;
  position: relative;
}

.cv-header-content {
  text-align: center;
  margin-bottom: 16px;
}

.cv-header h1 {
  margin: 0 0 12px 0;
  color: #2c3e50;
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.2;
  word-wrap: break-word;
}

#cvContact {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

#cvContact div {
  margin-bottom: 4px;
  word-wrap: break-word;
}

.cv-photo-container {
  width: 80px;
  height: 100px;
  border: 2px dashed #999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #666;
  font-size: 11px;
  margin: 0 auto 16px auto;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}

.cv-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.cv-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 8px;
}

.cv-section {
  margin-bottom: 24px;
}

.cv-section h2 {
  color: #2c3e50;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

.cv-item {
  margin-bottom: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cv-item:last-child {
  border-bottom: none;
}

.cv-item-header {
  font-weight: 600;
  color: #34495e;
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cv-item-detail {
  color: #7f8c8d;
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.4;
}

.info-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  gap: 2px;
}

.info-label {
  font-weight: 600;
  color: #555;
  font-size: 13px;
}

.info-row span:not(.info-label) {
  font-size: 13px;
  color: #666;
  word-wrap: break-word;
}

.cv-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cv-footer-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 10px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

.cv-footer-logo {
  max-width: 120px;
  height: auto;
}

.generate-cv-page .container > h1:first-of-type {
  text-align: center;
  color: #2c3e50;
  margin: 16px 0;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 600;
}

/* ==========================================================================
   FORGOT PASSWORD PAGE SPECIFIC STYLES
   ========================================================================== */
.forgot-password-page {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  margin: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.forgot-password-page .logo {
  max-height: 200px;
  width: auto;
  margin-bottom: 20px;
}

.forgot-password-page .container {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.forgot-password-page input[type="text"],
.forgot-password-page input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

.forgot-password-page button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 10px;
}

#resetBtn {
  background: #007bff;
  color: #fff;
}

#resetBtn:hover {
  background: #0056b3;
}

#resetBtn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.message {
  margin-top: 15px;
  font-size: 0.9rem;
  min-height: 18px;
}

.message.success {
  color: green;
}

.message.error {
  color: red;
}

.helper-text {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
  text-align: left;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  filter: blur(0.5px);
  font-size: 18px;
  color: #666;
  user-select: none;
}

/* ==========================================================================
   EXPERIENCE PAGE SPECIFIC STYLES
   ========================================================================== */
.job-section {
  border: 1px solid #ccc;
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 4px;
}

.char-counter {
  font-size: 0.8em;
  color: #666;
  margin-left: 4px;
}

.hidden {
  display: none;
}

.reason-options label {
  margin-right: 1em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
}

input[type="checkbox"],
input[type="radio"] {
  vertical-align: middle;
  margin: 0 4px 0 0;
  position: relative;
  top: -1px;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.text-danger {
  color: #dc3545;
}

/* ==========================================================================
   QUALIFICATIONS PAGE SPECIFIC STYLES
   ========================================================================== */
.qualifications-page * {
  box-sizing: border-box;
}

.qualifications-page body {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

.qualifications-page .container {
  padding: 15px;
  max-width: 100%;
}

.qualifications-page h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.qualifications-page .section {
  margin-bottom: 20px;
}

.qualifications-page .hidden {
  display: none;
}

.qualifications-page fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.qualifications-page legend {
  font-weight: bold;
  margin-top: 10px;
}

/* Form labels - mobile optimized */
.qualifications-page label {
  display: block;
  margin: 15px 0 8px;
  font-weight: 500;
  font-size: 16px;
  color: #333;
}

/* Radio and checkbox groups - stacked on mobile */
.qualifications-page .radio-group,
.qualifications-page .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0;
}

/* Individual radio/checkbox labels */
.qualifications-page .radio-group label,
.qualifications-page .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
  background: #f5f5f5;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-weight: normal;
}

.qualifications-page .radio-group label:active,
.qualifications-page .checkbox-group label:active {
  background: #e8e8e8;
}

/* Larger touch targets for inputs */
.qualifications-page .radio-group input[type="radio"],
.qualifications-page .checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

/* Text inputs and selects - mobile optimized */
.qualifications-page input[type="text"],
.qualifications-page input[type="number"],
.qualifications-page select {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 8px;
  -webkit-appearance: none;
  appearance: none;
}

.qualifications-page select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Conditional fields */
.qualifications-page #driversLicenseDetails,
.qualifications-page #firearmDetails,
.qualifications-page #psiraDetails,
.qualifications-page #dogHandlingDetails {
  margin-top: 15px;
  padding: 15px;
  background: #fafafa;
  border-radius: 8px;
}

.qualifications-page #driversLicenseDetails label,
.qualifications-page #firearmDetails label,
.qualifications-page #psiraDetails label,
.qualifications-page #dogHandlingDetails label {
  margin-top: 0;
}

/* Message area */
.qualifications-page #msg {
  margin-top: 15px;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
}

/* Tablet and up - restore horizontal layout where appropriate */
@media (min-width: 768px) {
  .qualifications-page .container {
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
  }

  .qualifications-page .radio-group,
  .qualifications-page .checkbox-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .qualifications-page .radio-group label,
  .qualifications-page .checkbox-group label {
    flex: 0 0 auto;
    min-width: auto;
  }
}

/* Prevent zoom on input focus (iOS) */
@media (max-width: 767px) {
  .qualifications-page input[type="text"]:focus,
  .qualifications-page input[type="number"]:focus,
  .qualifications-page select:focus {
    font-size: 16px;
  }
}

/* ==========================================================================
   VIEW CV PAGE SPECIFIC STYLES
   ========================================================================== */
.view-cv-page .cv-preview {
  background: white;
  padding: 40px;
  margin: 20px auto;
  max-width: 210mm;
  min-height: 297mm;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.view-cv-page .cv-header {
  border-bottom: 2px solid #333;
  padding-bottom: 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.view-cv-page .cv-header-content {
  flex: 1;
  text-align: center;
}

.view-cv-page .cv-header h1 {
  margin: 0 0 10px 0;
  color: #2c3e50;
}

.view-cv-page .cv-photo-placeholder {
  width: 90px;
  height: 110px;
  border: 2px dashed #999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #666;
  font-size: 12px;
  flex-shrink: 0;
  order: 2;
}

.view-cv-page .cv-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.view-cv-page .cv-footer-text {
  font-family: Calibri, sans-serif;
  font-size: 8px;
  color: #666;
}

.view-cv-page .cv-footer-logo {
  max-width: 190px;
  height: auto;
}

.view-cv-page .cv-section {
  margin-bottom: 25px;
}

.view-cv-page .cv-section h2 {
  color: #2c3e50;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.view-cv-page .cv-item {
  margin-bottom: 15px;
}

.view-cv-page .cv-item-header {
  font-weight: bold;
  color: #34495e;
}

.view-cv-page .cv-item-detail {
  color: #7f8c8d;
  font-size: 0.9em;
  margin-top: 2px;
}

.view-cv-page .info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.view-cv-page .info-label {
  font-weight: bold;
  color: #555;
}

.view-cv-page .loading-message {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #666;
}

.view-cv-page .error-message {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #e74c3c;
}

/* View CV page print styles */
@media print {
  .view-cv-page .btn-group,
  .view-cv-page .container > h1:first-of-type {
    display: none;
  }
  
  .view-cv-page .cv-preview {
    box-shadow: none;
    margin: 0;
    padding: 20px;
  }
}

/* ==========================================================================
   VERIFY OTP PAGE SPECIFIC STYLES
   ========================================================================== */
.verify-otp-page {
  font-family: Arial, sans-serif;
  text-align: center;
  background: #f7f7f7;
  margin: 0;
  padding: 20px;
}

.verify-otp-page h2 {
  margin: 10px 0;
  font-size: 1.5rem;
}

.verify-otp-page .subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.verify-otp-page .verify-container {
  max-width: 400px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  box-sizing: border-box;
}

.verify-otp-page .logo {
  max-height: 120px;
  margin: 15px auto;
  display: block;
}

.verify-otp-page .phone-display {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #155724;
  position: relative;
}

.verify-otp-page .phone-display.phone-edit {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
}

.verify-otp-page .change-number-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
  padding: 2px 4px;
}

.verify-otp-page .change-number-btn:hover {
  color: #0056b3;
}

.verify-otp-page .phone-input {
  width: 100%;
  padding: 8px;
  font-size: 0.9rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-top: 8px;
  box-sizing: border-box;
}

.verify-otp-page .save-cancel-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.verify-otp-page .btn-save,
.verify-otp-page .btn-cancel-edit {
  flex: 1;
  padding: 6px 12px;
  font-size: 0.8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.verify-otp-page .btn-save {
  background: #28a745;
  color: #fff;
}

.verify-otp-page .btn-cancel-edit {
  background: #6c757d;
  color: #fff;
}

.verify-otp-page .form-field {
  text-align: left;
  margin-bottom: 15px;
}

.verify-otp-page label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.verify-otp-page input[type="text"] {
  width: 100%;
  padding: 10px;
  font-size: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 8px;
  box-sizing: border-box;
}

.verify-otp-page .small {
  font-size: 0.85rem;
  color: #a00;
  margin-top: 10px;
  min-height: 18px;
}

.verify-otp-page .success {
  color: #28a745;
}

.verify-otp-page .info-text {
  font-size: 0.8rem;
  color: #555;
  margin-top: 10px;
}

.verify-otp-page .timer {
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
}

.verify-otp-page .recaptcha-prompt {
  font-size: 0.9rem;
  color: #0066cc;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Verify OTP page mobile styles */
@media (max-width: 480px) {
  .verify-otp-page {
    padding: 15px;
  }
  
  .verify-otp-page .verify-container {
    padding: 15px;
  }
  
  .verify-otp-page h2 {
    font-size: 1.3rem;
  }
  
  .verify-otp-page input[type="text"] {
    font-size: 1rem;
    padding: 8px;
  }
  
  .verify-otp-page .change-number-btn {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   UPDATE PASSWORD PAGE SPECIFIC STYLES
   ========================================================================== */
.update-password-page #site-header button:not(:last-child),
#header-placeholder button:not(:last-child) {
  margin-bottom: 8px;
}

.update-password-page body {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  margin: 0;
}

.update-password-container {
  max-width: 420px;
  margin: 40px auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.update-password-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

#status {
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
}

.back-button {
  text-align: center;
  margin-top: 30px;
}

.password-field {
  position: relative;
}

.password-field .password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
  font-size: 16px;
  z-index: 10;
  transition: color 0.2s ease;
}

.password-field .password-toggle:hover {
  color: #495057;
}

.password-field input {
  padding-right: 40px;
}

/* ==========================================================================
   UPDATE EMAIL PAGE SPECIFIC STYLES
   ========================================================================== */
.update-email-page #site-header button:not(:last-child) {
  margin-bottom: 8px;
}

.update-email-page .form-container {
  max-width: 600px;
  margin: 0 auto;
}

.update-email-page .form-field {
  margin-bottom: 1.5rem;
}

.update-email-page .form-field label {
  display: block;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.update-email-page .form-field input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.update-email-page .form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(34, 139, 34, 0.2);
}

.password-field-container {
  position: relative;
}

.password-field-container input {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #6c757d;
  font-size: 1.2rem;
  padding: 0.25rem;
}

.password-toggle:hover {
  color: var(--accent);
}

.current-email-display {
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  margin-bottom: 1.5rem;
}

.current-email-display .label {
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.current-email-display .email {
  font-family: monospace;
  background: white;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.pending-email-notice {
  padding: 1rem;
  background: #fff3cd;
  border-radius: 6px;
  border-left: 4px solid #ffc107;
  margin-bottom: 1.5rem;
}

.pending-email-notice strong {
  color: #856404;
}

.alert-info {
  background-color: #cce7ff;
  color: #004085;
  border: 1px solid #9bd3ff;
}

.verification-info {
  padding: 1rem;
  background: #e7f3ff;
  border-radius: 6px;
  border-left: 4px solid #007bff;
  margin-bottom: 1rem;
}

.verification-info h3 {
  margin-top: 0;
  color: #0056b3;
}

.loading-spinner {
  display: none;
  text-align: center;
  padding: 1rem;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 0.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.resend-section {
  text-align: center;
  margin-top: 1rem;
}

.resend-section small {
  color: #6c757d;
  font-style: italic;
}

/* Update email page mobile styles */
@media (max-width: 576px) {
  .update-email-page .btn {
    width: 100%;
  }
}

/* ==========================================================================
   UPDATE PHONE PAGE SPECIFIC STYLES
   ========================================================================== */
.update-phone-page #site-header button:not(:last-child) {
  margin-bottom: 8px;
}

.update-phone-page {
  font-family: Arial, sans-serif;
  text-align: center;
  background: #f7f7f7;
  margin: 0;
  padding: 20px;
}

.update-phone-page h2 {
  margin: 10px 0;
  font-size: 1.5rem;
}

.subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.verify-container {
  max-width: 400px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  box-sizing: border-box;
}

.verify-container .logo {
  max-height: 120px;
  margin: 15px auto;
  display: block;
}

.phone-display {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #155724;
  position: relative;
}

.phone-display.current-phone {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  margin-bottom: 10px;
}

.phone-display.phone-edit {
  background: #e2e3e5;
  border: 1px solid #d6d8db;
  color: #495057;
}

.change-number-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
  padding: 2px 4px;
}

.change-number-btn:hover {
  color: #0056b3;
}

.phone-input {
  width: 100%;
  padding: 8px;
  font-size: 0.9rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-top: 8px;
  box-sizing: border-box;
}

.save-cancel-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-save, .btn-cancel-edit {
  flex: 1;
  padding: 6px 12px;
  font-size: 0.8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-save {
  background: #28a745;
  color: #fff;
}

.btn-cancel-edit {
  background: #6c757d;
  color: #fff;
}

.verify-container .form-field {
  text-align: left;
  margin-bottom: 15px;
}

.verify-container input[type="text"],
.verify-container input[type="tel"] {
  width: 100%;
  padding: 10px;
  font-size: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 8px;
  box-sizing: border-box;
}

.verify-container input[type="tel"]#newPhoneNumber {
  letter-spacing: normal;
  text-align: left;
}

.verify-container .button-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.verify-container .btn {
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

.btn-verify {
  background: #28a745;
  color: #fff;
}

.btn-resend {
  background: #17a2b8;
  color: #fff;
}

.verify-container .success {
  color: #28a745;
}

.timer {
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
}

.recaptcha-prompt {
  font-size: 0.9rem;
  color: #0066cc;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Update phone page mobile styles */
@media (max-width: 480px) {
  .update-phone-page {
    padding: 15px;
  }
  
  .verify-container {
    padding: 15px;
  }
  
  .update-phone-page h2 {
    font-size: 1.3rem;
  }
  
  .verify-container input[type="text"],
  .verify-container input[type="tel"] {
    font-size: 1rem;
    padding: 8px;
  }
  
  .verify-container .btn {
    font-size: 0.95rem;
    padding: 10px;
  }
  
  .change-number-btn {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  #centerContainer {
    gap: 0.5rem;
  }

  #centerContainer img {
    max-height: 120px !important;
  }

  .btn {
    padding: 0.6rem 1.2rem !important;
    font-size: 1rem !important;
    min-width: 100px;
  }

  #displayName {
    font-size: 1.2rem !important;
    margin-top: 0.5rem !important;
  }

  .btn-group {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100%;
    max-width: 300px;
    padding: 0 20px;
  }

  .btn-group .btn {
    width: 100%;
    margin: 0;
  }

  nav, .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  main {
    padding: 0.5rem;
  }

  .qr-container {
    width: 80px;
    height: 80px;
  }

  .verification-banner {
    padding: 0.875rem 1rem;
    margin: 10px 10px 15px 10px;
  }

  .verification-banner-content {
    font-size: 1rem;
  }

  .account-container {
    padding: 1rem;
  }

  .account-field {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .field-label {
    min-width: auto;
    width: 100%;
  }

  .field-value {
    text-align: left;
    width: 100%;
  }

  .support-form {
    padding: 1rem;
  }

  .confirm-page .container {
    padding: 15px;
  }

  .confirm-page h1 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  #profileName {
    font-size: 1rem;
  }

  .logo-wrap img {
    height: 120px;
  }

  table {
    font-size: 0.95rem;
  }

  th, td {
    padding: 10px 6px;
  }

  .btn-wrap {
    flex-direction: column;
    gap: 10px;
  }

  .btn-wrap button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  #centerContainer {
    gap: 0.75rem;
  }

  #centerContainer img {
    max-height: 100px !important;
  }

  .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem !important;
  }

  #displayName {
    font-size: 1.1rem !important;
  }

  .btn-group {
    gap: 1rem !important;
  }

  .verification-banner-content {
    font-size: 0.95rem;
  }

  .account-header h1 {
    font-size: 1.5rem;
  }

  .personal-profile-page .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem !important;
  }
  
  .personal-profile-page .btn-group {
    gap: 1rem !important;
  }
}

@media (max-width: 640px) {
  .rating-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .rating-label {
    flex: none;
    width: 100%;
  }
  
  .submit-wrap {
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .generate-cv-page .container {
    max-width: 1200px;
  }
}

@media (max-width: 480px) {
  #centerContainer img {
    max-height: 80px !important;
  }

  .btn {
    font-size: 0.9rem !important;
  }

  #displayName {
    font-size: 1rem !important;
  }

  .confirm-page h1 {
    font-size: 1.1rem;
  }

  .logo-wrap img {
    height: 80px;
  }

  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 8px 4px;
  }

  .job-section h4 {
    font-size: 1rem;
  }

  input[type="text"],
  input[type="month"] {
    font-size: 0.95rem;
  }

  .forgot-password-page {
    padding: 15px 10px;
  }

  .forgot-password-page .logo {
    max-height: 80px;
  }

  .forgot-password-page .container {
    padding: 15px;
  }

  .forgot-password-page .container h2 {
    font-size: 1.2rem;
  }

  .forgot-password-page .container p {
    font-size: 0.9rem;
  }

  .personal-page h1 {
    font-size: 1.3rem;
  }

  .personal-page label {
    font-size: 0.95rem;
  }

  .personal-page .edit-hint,
  .personal-page .readonly-notice {
    font-size: 0.8em;
  }
  
  .selfie-preview {
    width: 120px;
    height: 120px;
  }

  .inline-options:not(.consent-section) {
    gap: 15px;
  }

  .inline-options:not(.consent-section) label {
    padding: 6px 12px;
    min-width: 70px;
    font-size: 0.9rem;
  }

  .personal-profile-page .btn {
    font-size: 0.9rem !important;
  }

  .personal-profile-page h2 {
    font-size: 1.3rem;
  }

  .rating-summary {
    font-size: 0.95rem;
  }

  .rating-table {
    font-size: 0.9rem;
  }

  .qr-frame {
    max-width: 180px;
    height: 180px;
  }

  .public-profile-page .container {
    padding: 10px;
  }

  .profile-header h1 {
    font-size: 1.8rem;
  }

  .public-profile-page .rating-summary {
    font-size: 0.95rem;
  }

  .public-profile-page .rating-table {
    font-size: 0.85rem;
  }

  .public-profile-page .rating-table th,
  .public-profile-page .rating-table td {
    padding: 5px;
  }

  .rate-profile-page .container {
    padding: 12px;
  }

  .rate-profile-page h1 {
    font-size: 1.1rem;
  }

  .rate-profile-page .logo-wrap img {
    height: 80px !important;
  }

  .star {
    font-size: 28px;
  }

  .rating-legend {
    font-size: 0.85rem;
  }

  .register-page {
    padding: 15px;
  }

  .register-container {
    padding: 15px;
  }

  .register-page h2 {
    font-size: 1.3rem;
  }

  .register-page input[type="text"],
  .register-page input[type="email"],
  .register-page input[type="password"],
  .register-page input[type="tel"] {
    font-size: 0.95rem;
    padding: 8px;
  }

  .register-page .btn {
    font-size: 0.95rem;
    padding: 10px;
  }

  .info-text,
  .note {
    font-size: 0.75rem;
  }

  .register-page .logo {
    max-height: 80px;
  }

  .registration-details-page {
    padding: 15px;
  }

  .registration-details-page .register-container {
    padding: 15px;
  }

  .registration-details-page h2 {
    font-size: 1.3rem;
  }

  .registration-details-page input[type="text"],
  .registration-details-page input[type="email"],
  .registration-details-page input[type="password"],
  .registration-details-page input[type="tel"] {
    font-size: 0.95rem;
    padding: 8px;
  }

  .password-container input[type="password"],
  .password-container input[type="text"] {
    padding-right: 40px;
  }

  .password-toggle {
    right: 10px;
    font-size: 16px;
  }

  .registration-details-page .btn {
    font-size: 0.95rem;
    padding: 10px;
  }

  .registration-details-page .info-text,
  .registration-details-page .note {
    font-size: 0.75rem;
  }

  .review-page {
    padding: 10px;
    font-size: 0.95rem;
  }

  .review-page h1 {
    font-size: 1.4rem;
    text-align: center;
  }

  .review-page h3 {
    font-size: 1.1rem;
  }

  .review-page .small {
    font-size: 0.85rem;
  }

  .review-page .section {
    padding: 10px;
  }
}

@media print {
  .btn-group, 
  .generate-cv-page .container > h1:first-of-type,
  #site-header,
  #site-footer {
    display: none !important;
  }
  
  .cv-preview {
    box-shadow: none;
    margin: 0;
    padding: 20px;
    max-width: none;
    width: 100%;
  }
  
  .cv-header h1 {
    font-size: 28px;
  }
  
  .cv-section h2 {
    font-size: 16px;
  }
  
  .info-row {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .cv-footer {
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  .generate-cv-page .btn {
    transition: none;
  }
  
  .generate-cv-page .btn:hover,
  .generate-cv-page .btn:active {
    transform: none;
  }
}

@media (prefers-contrast: high) {
  .cv-preview {
    border: 2px solid #000;
  }
  
  .cv-header {
    border-bottom-color: #000;
  }
  
  .cv-section h2 {
    border-bottom-color: #000;
  }
}
/* ==========================================================================
   MESSAGING SYSTEM STYLES
   ========================================================================== */

/* Messages Notification Bar (for review.html) */
.messages-notification-bar {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  margin-bottom: 1rem;
  display: none;
}

.notification-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.notification-icon {
  font-size: 3rem;
  line-height: 1;
}

.notification-text {
  flex: 1;
}

.notification-text strong {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.25rem;
}

.notification-text p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

#viewMessagesBtn {
  background: white;
  color: #4CAF50;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#viewMessagesBtn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Messages Page Styles */
.messages-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.message-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.message-card.unread {
  border-left: 4px solid #4CAF50;
  background: #f9fff9;
}

.message-card.read {
  opacity: 0.8;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e0e0e0;
}

.message-from {
  font-weight: bold;
  color: #1a2332;
  font-size: 1.1rem;
}

.message-date {
  color: #666;
  font-size: 0.9rem;
}

.message-subject {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.message-body {
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.message-badge {
  display: inline-block;
  background: #4CAF50;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-left: 0.5rem;
}

.no-messages {
  text-align: center;
  padding: 4rem 2rem;
  color: #999;
  font-size: 1.1rem;
}

.message-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-mark-read {
  background: #2D5A3A;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-mark-read:hover {
  background: #5A8570;
}

.loading {
  text-align: center;
  padding: 2rem;
  color: #666;
}

/* Mobile Responsive for Messages */
@media (max-width: 768px) {
  .notification-content {
    flex-direction: column;
    text-align: center;
  }
  
  .notification-icon {
    font-size: 2.5rem;
  }
  
  #viewMessagesBtn {
    width: 100%;
  }
  
  .message-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .message-from {
    font-size: 1rem;
  }
  
  .messages-container {
    padding: 0 0.5rem;
  }
  
  .message-card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .messages-notification-bar {
    padding: 1rem;
  }
  
  .notification-text strong {
    font-size: 1rem;
  }
  
  .notification-text p {
    font-size: 0.85rem;
  }
  
  #viewMessagesBtn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}
/* ==================== PWA Styles ==================== */

/* Network Status Indicator */
.network-status {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transition: transform 0.3s ease;
  transform: translateY(100%);
}

.network-status.offline {
  background: #e74c3c;
  color: white;
  transform: translateY(0);
}

/* PWA Update Notification */
.pwa-update-notification {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: white;
  padding: 12px 20px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 10000;
  font-size: 14px;
}

.pwa-update-notification button {
  background: #27ae60;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.pwa-update-notification button:hover {
  background: #2ecc71;
}

/* PWA Install Button (optional - add to your UI) */
#pwa-install-btn {
  display: none;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

#pwa-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Offline body indicator */
body.offline {
  position: relative;
}

body.offline::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #e74c3c;
  z-index: 9998;
}

/* PWA Install Banner */
.pwa-install-banner {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.install-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 480px) {
  .install-banner-content {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-install {
  background: white;
  color: #27ae60;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-install:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/* ==========================================================================
   INDEX PAGE - CENTERED FORM ELEMENTS
   Add this section at the end of your styles.css file
   ========================================================================== */

/* Center the intro container content */
.intro-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

/* Center the register invitation section */
.register-invitation {
  text-align: center;
  max-width: 500px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 8px;
}

.register-invitation p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.register-invitation .user-type-selector {
  max-width: 350px;
  margin: 15px auto;
}

.register-invitation .user-type-selector label {
  text-align: center;
}

/* Center the login container */
.login-container {
  text-align: center;
  max-width: 500px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
  margin-bottom: 1.5rem;
}

.login-container .user-type-selector {
  max-width: 350px;
  margin: 15px auto;
}

.login-container .user-type-selector label {
  text-align: center;
}

/* Center form fields */
.login-container .form-field {
  max-width: 400px;
  margin: 0 auto 1rem auto;
  text-align: left;
}

.login-container .form-field label {
  text-align: center;
  display: block;
  margin-bottom: 0.5rem;
}

.login-container .form-field input {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.login-container .helper-text {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
}

/* Center password container */
.login-container .password-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

/* Center message area */
.login-container #msg {
  text-align: center;
  margin: 1rem auto;
  max-width: 400px;
}

/* Center button row */
.login-container .button-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 1rem auto;
}

.login-container .button-row .btn {
  width: 100%;
}

/* Center register button */
.register-invitation .btn-register {
  max-width: 300px;
  margin: 1rem auto;
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.register-invitation .btn-register:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* Ensure highlight banner is centered */
.highlight-banner {
  text-align: center;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #001f3f;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 700px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* PWA Install Banner - Ensure it's styled consistently */
.pwa-install-banner {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 15px 20px;
  margin: 20px auto;
  max-width: 900px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.install-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.install-banner-content span {
  font-size: 1.1rem;
  font-weight: 500;
}

@media (min-width: 480px) {
  .install-banner-content {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-install {
  background: white;
  color: #27ae60;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-install:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .register-invitation,
  .login-container {
    max-width: 90%;
    padding: 1rem;
  }

  .login-container .form-field,
  .login-container .button-row,
  .login-container .password-container,
  .login-container #msg {
    max-width: 100%;
  }

  .pwa-install-banner {
    margin: 15px 10px;
  }
}

@media (max-width: 480px) {
  .install-banner-content span {
    font-size: 1rem;
  }

  .btn-install {
    padding: 8px 20px;
    font-size: 14px;
  }

  .highlight-banner {
    font-size: 1rem;
    padding: 1rem;
  }
}
/* ==========================================================================
   iOS PWA INSTALL MODAL STYLES
   Add this section to your styles.css file for iOS install instructions
   ========================================================================== */

/* iOS Install Modal Overlay */
.ios-install-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ios-install-modal.show {
  opacity: 1;
}

/* iOS Install Modal Content */
.ios-install-content {
  background: white;
  border-radius: 16px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Close Button */
.ios-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f0f0f0;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ios-close-btn:hover {
  background: #e0e0e0;
  color: #333;
  transform: scale(1.1);
}

/* Modal Header */
.ios-install-content h2 {
  color: #228B22;
  margin: 0 0 10px 0;
  font-size: 24px;
  text-align: center;
}

.ios-subtitle {
  color: #666;
  text-align: center;
  margin: 0 0 30px 0;
  font-size: 16px;
}

/* Installation Steps */
.ios-steps {
  margin: 0 0 30px 0;
}

.ios-step {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.ios-step:last-child {
  margin-bottom: 0;
}

.ios-step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #228B22, #2E8B57);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.ios-step-content {
  flex: 1;
}

.ios-step-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.ios-step-content p {
  margin: 0;
  color: #333;
  line-height: 1.5;
}

.ios-step-content strong {
  color: #228B22;
}

/* Benefits Section */
.ios-benefits {
  background: #f8f9fa;
  border-left: 4px solid #228B22;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.ios-benefits p {
  margin: 0 0 12px 0;
  color: #333;
  font-weight: 600;
}

.ios-benefits ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ios-benefits li {
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

.ios-benefits li:last-child {
  margin-bottom: 0;
}

/* Got It Button */
.ios-got-it-btn {
  width: 100%;
  background: linear-gradient(135deg, #228B22, #2E8B57);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.ios-got-it-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 139, 34, 0.4);
}

.ios-got-it-btn:active {
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .ios-install-content {
    padding: 20px;
  }

  .ios-install-content h2 {
    font-size: 20px;
  }

  .ios-subtitle {
    font-size: 14px;
  }

  .ios-step-icon {
    font-size: 28px;
  }

  .ios-step-content p {
    font-size: 14px;
  }

  .ios-benefits {
    padding: 15px;
  }

  .ios-benefits li {
    font-size: 13px;
  }
}

/* Smooth scrolling for modal content */
.ios-install-content::-webkit-scrollbar {
  width: 8px;
}

.ios-install-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.ios-install-content::-webkit-scrollbar-thumb {
  background: #228B22;
  border-radius: 10px;
}

.ios-install-content::-webkit-scrollbar-thumb:hover {
  background: #1e7a1e;
}
/* ==========================================================================
   ADMIN DASHBOARD STYLES - Matching Employer Dashboard Aesthetic
   ========================================================================== */

/* Admin Dashboard Container */
.dashboard-container {
    width: 98%;
    max-width: none;
    margin: 0 auto;
    background: #FFFFF0; /* Ivory background like employer pages */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 40px);
}

/* Admin Dashboard Body Override */
body:has(.dashboard-container) {
    background: #E8E6E1 !important; /* Warm grey like employer pages */
}

/* Admin Header */
.dashboard-container .header {
    background: linear-gradient(135deg, #1B4965 0%, #2B5F7D 100%); /* Deep navy gradient */
    color: #FFFFF0;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 3px solid #2D5A3A; /* Forest green accent */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(255, 255, 240, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 240, 0.3);
}

.admin-email {
    color: #FFFFF0;
    font-size: 1rem;
    font-weight: 500;
}

.logout-btn {
    padding: 8px 16px;
    background: #8B4545; /* Muted red for logout */
    color: #FFFFF0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #A04545;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 69, 0.3);
}

.dashboard-container .header h1 {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #FFFFF0;
    letter-spacing: 0.5px;
    margin: 0;
}

.dashboard-container .header h1 img {
    height: 40px;
    width: auto;
}

.header-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px 20px;
    background: rgba(255, 255, 240, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 240, 0.2);
    min-width: 120px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #FFFFF0;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: #E8E6E1;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    background: #F5F5DC; /* Cream background */
    border-bottom: 2px solid #E8E6E1;
    overflow-x: auto;
    flex-shrink: 0;
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
}

.nav-tab {
    padding: 15px 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #1a2332;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    font-weight: 500;
}

.nav-tab:hover {
    background: rgba(27, 73, 101, 0.1);
    color: #1B4965;
}

.nav-tab.active {
    color: #2D5A3A; /* Forest green for active */
    font-weight: 600;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #2D5A3A; /* Forest green underline */
}

/* Tab Content */
.tab-content {
    padding: 30px;
    background: #FFFFF0; /* Ivory background */
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
    flex: 1;
    overflow: hidden;
    flex-direction: column;
}

.tab-pane.active {
    display: flex;
}

#analytics.tab-pane {
    overflow-y: auto;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Search Bar */
.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border: 2px solid #E8E6E1;
    border-radius: 6px;
    font-size: 1rem;
    background: #FFFFFF;
    color: #1a2332;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    outline: none;
    border-color: #1B4965;
    box-shadow: 0 0 0 3px rgba(27, 73, 101, 0.1);
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid #E8E6E1;
    border-radius: 6px;
    font-size: 1rem;
    background: #FFFFFF;
    color: #1a2332;
    cursor: pointer;
}

.filter-select option {
    background: #FFFFFF;
    color: #1a2332;
}

/* Admin Dashboard Buttons - Matching Employer Palette */
.dashboard-container .btn,
.dashboard-container button:not(.modal-close):not(.nav-tab) {
    padding: 12px 24px;
    background: #1B4965; /* Deep navy */
    color: #FFFFF0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dashboard-container .btn:hover:not(:disabled),
.dashboard-container button:hover:not(:disabled):not(.modal-close):not(.nav-tab) {
    background: #2B5F7D; /* Mature blue */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 73, 101, 0.3);
}

.dashboard-container .btn-secondary {
    background: #5A8570; /* Sage green */
    color: #FFFFF0;
}

.dashboard-container .btn-secondary:hover:not(:disabled) {
    background: #2D5A3A; /* Forest green */
}

.dashboard-container .btn-danger {
    background: #8B4545; /* Muted red */
    color: #FFFFF0;
}

.dashboard-container .btn-danger:hover:not(:disabled) {
    background: #A04545;
}

.dashboard-container .btn-success {
    background: #2D5A3A; /* Forest green */
    color: #FFFFF0;
}

.dashboard-container .btn-success:hover:not(:disabled) {
    background: #5A8570; /* Sage green */
}

.dashboard-container .btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

/* Table Wrapper */
.table-wrapper {
    overflow: auto;
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #E8E6E1;
    background: #FFFFFF;
    position: relative;
}

.data-table {
    width: 100%;
    min-width: 1900px;
    border-collapse: separate;
    border-spacing: 0;
    background: #FFFFFF;
}

.data-table thead {
    background: #1B4965; /* Deep navy header */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.data-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #FFFFF0;
    border-bottom: 2px solid #2D5A3A;
    cursor: pointer;
    user-select: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.data-table th:hover {
    background: #2B5F7D;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #E8E6E1;
    color: #1a2332;
    vertical-align: middle;
    background: #FFFFFF;
}

.data-table tbody tr {
    transition: all 0.2s ease;
}

.data-table tbody tr:nth-child(even) {
    background: #F9F9F9;
}

.data-table tbody tr:hover {
    background: #E8E6E1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Red Flag Indicator - Muted Red */
.data-table tbody tr.red-flagged {
    background: rgba(139, 69, 69, 0.1) !important;
    border-left: 3px solid #8B4545;
}

.data-table tbody tr.red-flagged:hover {
    background: rgba(139, 69, 69, 0.2) !important;
}

/* Status Badges - Matching Employer Palette */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid;
    white-space: nowrap;
}

.status-verified {
    background: rgba(45, 90, 58, 0.1);
    color: #2D5A3A;
    border-color: #2D5A3A;
}

.status-pending {
    background: rgba(201, 169, 97, 0.1);
    color: #c9a961;
    border-color: #c9a961;
}

.status-unverified {
    background: rgba(139, 139, 139, 0.1);
    color: #666;
    border-color: #999;
}

.status-trial {
    background: rgba(90, 133, 112, 0.1);
    color: #5A8570;
    border-color: #5A8570;
}

.status-admin {
    background: rgba(27, 73, 101, 0.1);
    color: #1B4965;
    border-color: #1B4965;
}

.status-red-flag {
    background: rgba(139, 69, 69, 0.1);
    color: #8B4545;
    border-color: #8B4545;
    font-weight: bold;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 24px;
    border: 1px solid #999;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #2D5A3A; /* Forest green */
    border-color: #2D5A3A;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Red Flag Toggle */
.toggle-red-flag input:checked + .toggle-slider {
    background-color: #8B4545; /* Muted red */
    border-color: #8B4545;
}

.toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.toggle-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border: 1px solid;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.icon-btn.view {
    background: rgba(27, 73, 101, 0.1);
    border-color: #1B4965;
    color: #1B4965;
}

.icon-btn.view:hover {
    background: rgba(27, 73, 101, 0.2);
    box-shadow: 0 2px 8px rgba(27, 73, 101, 0.3);
}

.icon-btn.edit {
    background: rgba(201, 169, 97, 0.1);
    border-color: #c9a961;
    color: #c9a961;
}

.icon-btn.edit:hover {
    background: rgba(201, 169, 97, 0.2);
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

.icon-btn.delete {
    background: rgba(139, 69, 69, 0.1);
    border-color: #8B4545;
    color: #8B4545;
}

.icon-btn.delete:hover {
    background: rgba(139, 69, 69, 0.2);
    box-shadow: 0 2px 8px rgba(139, 69, 69, 0.3);
}

.icon-btn.email-verify {
    background: rgba(45, 90, 58, 0.1);
    border-color: #2D5A3A;
    color: #2D5A3A;
}

.icon-btn.email-verify:hover {
    background: rgba(45, 90, 58, 0.2);
    box-shadow: 0 2px 8px rgba(45, 90, 58, 0.3);
}

.icon-btn.admin {
    background: rgba(90, 133, 112, 0.1);
    border-color: #5A8570;
    color: #5A8570;
}

.icon-btn.admin:hover {
    background: rgba(90, 133, 112, 0.2);
    box-shadow: 0 2px 8px rgba(90, 133, 112, 0.3);
}

.icon-btn:hover {
    transform: scale(1.1);
}

/* Modal Styles */
.dashboard-container .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.dashboard-container .modal.active {
    display: flex;
}

.dashboard-container .modal-content {
    background: #FFFFF0;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #E8E6E1;
}

.dashboard-container .modal-header {
    padding: 20px 25px;
    border-bottom: 2px solid #E8E6E1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F5F5DC;
}

.dashboard-container .modal-header h2 {
    font-size: 1.5rem;
    color: #1a2332;
    margin: 0;
}

.dashboard-container .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    padding: 0;
}

.dashboard-container .modal-close:hover {
    color: #1a2332;
}

.dashboard-container .modal-body {
    padding: 25px;
    color: #1a2332;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    padding: 15px;
    background: #F9F9F9;
    border-radius: 8px;
    border: 1px solid #E8E6E1;
}

.info-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2332;
    word-wrap: break-word;
}

/* Nested Object Styles */
.nested-object {
    background: #F9F9F9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #E8E6E1;
    margin-top: 10px;
}

.nested-object-title {
    font-size: 0.9rem;
    color: #1B4965;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nested-field {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #E8E6E1;
}

.nested-field:last-child {
    border-bottom: none;
}

.nested-field-label {
    color: #666;
    font-size: 0.9rem;
}

.nested-field-value {
    color: #1a2332;
    font-weight: 500;
}

/* Form Elements */
.dashboard-container .form-group {
    margin-bottom: 20px;
}

.dashboard-container .form-label {
    display: block;
    margin-bottom: 8px;
    color: #1a2332;
    font-weight: 500;
}

.dashboard-container .form-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #E8E6E1;
    border-radius: 6px;
    background: #FFFFFF;
    color: #1a2332;
    font-size: 1rem;
}

.dashboard-container .form-input:focus {
    outline: none;
    border-color: #1B4965;
    box-shadow: 0 0 0 3px rgba(27, 73, 101, 0.1);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 40px;
    height: 40px;
    margin: 50px auto;
    border: 4px solid #E8E6E1;
    border-top: 4px solid #1B4965;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner.active {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state-icon {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 20px;
}

/* User Info */
.profile-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E8E6E1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Export Menu */
.export-menu {
    position: relative;
    display: inline-block;
}

.export-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E8E6E1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    margin-top: 5px;
}

.export-dropdown.active {
    display: block;
}

.export-option {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    color: #1a2332;
}

.export-option:hover {
    background: #E8E6E1;
    color: #1B4965;
}

/* Analytics Cards */
.analytics-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #E8E6E1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.analytics-card h3 {
    margin-bottom: 15px;
    color: #1a2332;
}

.progress-bar {
    background: #E8E6E1;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #2D5A3A, #5A8570);
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: #FFFFF0;
    font-weight: bold;
    transition: width 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        width: 95%;
    }
    
    .dashboard-container .header h1 {
        font-size: 1.5rem;
    }
    
    .data-table {
        min-width: 1600px;
    }
    
    .header-stats {
        width: 100%;
    }
    
    .stat-item {
        flex: 1;
        min-width: 100px;
    }
}