/* pages.css - Consolidated styles for all non-map pages
   Replaces: loginstyles.css, forgotStyles.css, resetStyles.css, registerStyles.css,
             aboutStyles.css, roadmapstyles.css, termsconditionsStyles.css, privacystyles.css,
             editprofile.css, editprofileform.css */

/* ============================================================
   SHARED STYLES (non-map pages only)
   ============================================================ */

/* Body reset for auth/profile pages */
body.login-page,
body.forgot-page,
body.reset-page,
body.register-page,
body.profile-page,
body.profile-form-page {
  margin: 0;
  padding: 0;
  font-family: var(--dsc-font);
}

body.login-page,
body.forgot-page,
body.reset-page,
body.register-page {
  background-color: #f0f2f5;
}

body.profile-page,
body.profile-form-page {
  background-color: #e9ecef;
}

/* Container override for auth/profile pages */
.login-page .container,
.forgot-page .container,
.reset-page .container,
.register-page .container,
.profile-page .container,
.profile-form-page .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 15px;
}

/* Menu padding override for auth/profile pages */
.login-page .menu,
.register-page .menu,
.profile-page .menu,
.profile-form-page .menu {
  padding: 1rem;
}

/* Menu separator override for profile page */
.profile-page .menu-separator {
  margin-top: 0.7rem;
  margin-bottom: 0;
}

/* Menu separator override for auth pages with 1rem margin */
.login-page .menu-separator,
.register-page .menu-separator,
.profile-form-page .menu-separator {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Shared form label */
.form-label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

/* Utility */
.hidden {
  display: none;
}

/* Recaptcha container */
.recaptcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

/* Mobile header responsive (all non-map pages) */
@media screen and (max-width: 767px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  .menu {
    flex-direction: column;
    padding-left: 0.5rem;
  }

  .menu-buttons {
    margin-top: 0.5rem;
    padding-right: 0.5rem;
    padding: 1px 28px;
    justify-content: center;
    align-items: center;
  }

  .menu-button {
    background-color: var(--dsc-primary);
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    padding: 5px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
}

/* ============================================================
   GOOGLE SIGN-IN BUTTON
   ============================================================ */

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 50px;
  color: #3c4043;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.google-btn:hover {
  background: #f7f8f8;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  color: #3c4043;
  text-decoration: none;
}

.google-btn svg {
  width: 18px;
  height: 18px;
}

/* Auth divider ("or" separator) */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
  color: #9ca3af;
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.auth-divider span {
  padding: 0 1rem;
}

/* Auth footer link */
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 14px;
  color: #6b7280;
}

.auth-footer a {
  color: var(--dsc-primary);
  font-weight: 500;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ============================================================
   LOGIN PAGE (replaces loginstyles.css)
   ============================================================ */

.login-page {
  min-height: 100vh;
}

.login-page .box {
  display: inline-block;
  background-color: var(--dsc-primary);
  color: white;
  padding: 1rem 2rem;
  margin: 1rem 0.5rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-page .box:hover {
  background-color: var(--dsc-primary-hover);
}

/* Login form styling */
.login-page form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  max-width: 420px;
  margin: 0 auto;
}

.login-page input[type="email"],
.login-page input[type="password"] {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-page input[type="email"]:focus,
.login-page input[type="password"]:focus {
  border-color: var(--dsc-accent);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
  outline: none;
}

.login-page button[type="submit"] {
  width: 100%;
  background-color: var(--dsc-primary);
  color: white;
  padding: 0.85rem;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.login-page button[type="submit"]:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

.login-page .form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-page .form-control:focus {
  border-color: var(--dsc-accent);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
  outline: none;
}

.login-page input[type="submit"] {
  width: 100%;
  background-color: var(--dsc-primary);
  color: white;
  padding: 0.85rem;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.login-page input[type="submit"]:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

.login-page .forgot-password {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}

.login-page .alert-yellow {
  background-color: rgba(255, 255, 153, 0.7);
  color: #666600;
  border-color: #ffff66;
  width: 50%;
  margin: 0 auto;
  margin-top: 1rem;
}

/* ============================================================
   FORGOT PASSWORD PAGE (replaces forgotStyles.css)
   ============================================================ */

.forgot-page .forgot-password {
  padding: 2rem 0;
}

.forgot-page .forgot-password h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.forgot-page .forgot-password ul {
  list-style-type: none;
  padding: 0;
}

.forgot-page .forgot-password-step {
  background-color: #f0f2f5;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.forgot-page .forgot-password-step h3 {
  margin-bottom: 1rem;
}

/* Forgot form styling */
.forgot-page form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  max-width: 420px;
  margin: 0 auto;
}

.forgot-page input[type="email"] {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.forgot-page input[type="email"]:focus {
  border-color: var(--dsc-accent);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
  outline: none;
}

.forgot-page button[type="submit"] {
  width: 100%;
  background-color: var(--dsc-primary);
  color: white;
  padding: 0.85rem;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.forgot-page button[type="submit"]:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

/* Center content */
.forgot-page .forgot-password {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 170px);
  position: relative;
  top: -60px;
}

.forgot-page .forgot-password h1,
.forgot-page .forgot-password .forgot-password-text {
  text-align: center;
}

/* ============================================================
   RESET PASSWORD PAGE (replaces resetStyles.css)
   ============================================================ */

.reset-page .reset-password {
  min-height: 100vh;
}

.reset-page .reset-password h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.reset-page .reset-password ul {
  list-style-type: none;
  padding: 0;
}

.reset-page .reset-password-step {
  background-color: #f0f2f5;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.reset-page .reset-password-step h3 {
  margin-bottom: 1rem;
}

/* Reset form styling */
.reset-page form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

.reset-page input[type="password"] {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.reset-page input[type="password"]:focus {
  border-color: var(--dsc-accent);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
  outline: none;
}

.reset-page input[type="submit"] {
  width: 100%;
  background-color: var(--dsc-primary);
  color: white;
  padding: 0.85rem;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.reset-page input[type="submit"]:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

/* Center content */
.reset-page .reset-password {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 170px);
  position: relative;
  top: -60px;
}

.reset-page .reset-password h1 {
  text-align: center;
  margin-top: 50px;
}

.reset-page .reset-password .reset-password-text {
  text-align: center;
}

/* ============================================================
   REGISTER PAGE (replaces registerStyles.css)
   ============================================================ */

.register-page {
  min-height: 100vh;
}

/* Pricing boxes */
.register-page .box {
  display: inline-block;
  background-color: transparent;
  color: #333;
  padding: 1rem 2rem;
  margin: 1rem 0.5rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.register-page .box-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
}

.register-page .box::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 174, 239, 0.08);
  opacity: 0;
  left: 0;
  top: 0;
  z-index: -1;
  transition: opacity 0.3s;
}

.register-page .box:hover::before {
  opacity: 1;
}

.register-page .box:hover {
  color: var(--dsc-primary);
  border-color: var(--dsc-accent);
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.15);
}

.register-page .title {
  text-align: center;
  margin-bottom: 1rem;
}

.register-page .box-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.register-page .box-price {
  font-size: 36px;
  font-weight: bold;
  color: #28a745;
  margin-bottom: 0.5rem;
  text-align: center;
}

.register-page .monthly-text {
  font-size: 18px;
  font-weight: normal;
}

.register-page .currency-note {
  font-size: 10px;
  display: block;
  margin-bottom: 1rem;
}

.register-page .features-list {
  list-style-type: none;
  padding: 0;
}

.register-page .feature-item {
  font-size: 14px;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  width: 95%;
}

.register-page .check-icon {
  color: #28a745;
  font-size: 12px;
  margin-right: 5px;
}

/* Register form styling */
.register-page form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.register-page .form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.register-page .form-control:focus {
  border-color: var(--dsc-accent);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
  outline: none;
}

.register-page input[type="submit"] {
  width: 100%;
  background-color: var(--dsc-primary);
  color: white;
  padding: 0.85rem;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.register-page input[type="submit"]:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

.register-page .submit-btn {
  width: 100%;
  background-color: var(--dsc-primary);
  color: white;
  padding: 0.85rem;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.register-page .submit-btn:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

/* Register modal */
.register-page .modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.register-page .modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  border-radius: 20px;
  text-align: center;
}

.register-page .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.register-page .close:hover,
.register-page .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.register-page #home-button {
  display: inline-block;
  background-color: var(--dsc-primary);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  margin-top: 1rem;
}

.register-page #home-button:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

/* Spinner */
.custom-spinner {
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid var(--dsc-primary);
  width: 20px;
  height: 20px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

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

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

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

.spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
  margin-left: 5px;
}

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

.loading .spinner-border {
  color: #fff;
}

body.login-page .wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.login-page .content,
.register-page .content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   ABOUT PAGE (replaces aboutStyles.css)
   ============================================================ */

.about-page .about-logo {
  width: 100%;
  height: auto;
  margin-right: 180px;
}

.about-page .about-container {
  display: flex;
}

.about-page .left-col {
  flex: 0 0 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about-page .right-col {
  flex: 1;
  padding-left: 50px;
  padding-top: 50px;
}

.about-page .separator {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 50%;
  width: 2px;
  background-color: #3a3939;
}

/* Crypto donations table */
.about-page .crypto-donations-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 50px auto 0;
  padding-bottom: 50px;
  display: flex;
  justify-content: center;
}

.about-page .crypto-donations {
  width: 80%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
}

.about-page .crypto-donations th,
.about-page .crypto-donations td {
  padding: 10px;
  text-align: left;
  box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.1), inset 1px 1px 0px rgba(255, 255, 255, 0.1);
  background-color: #f9f9f9;
}

.about-page .crypto-donations th {
  font-weight: bold;
  background-color: #f2f2f2;
  border-bottom: 2px solid #000;
  box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.1), inset 1px 1px 0px rgba(255, 255, 255, 0.1), 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.about-page .crypto-donations th:last-child {
  text-align: center;
}

.about-page .crypto-donations td:last-child {
  width: 80%;
}

.about-page .crypto-logo {
  width: 20px;
  height: auto;
  margin-right: 5px;
  vertical-align: middle;
}

/* About mobile */
@media screen and (max-width: 767px) {
  .about-page .left-col {
    display: none;
  }

  .about-page .separator {
    display: none;
  }

  .about-page .right-col {
    padding-left: 15px;
    padding-right: 15px;
    text-align: justify;
  }
}

/* ============================================================
   ROADMAP PAGE (replaces roadmapstyles.css)
   ============================================================ */

.roadmap-page .road-map {
  padding: 2rem 0;
}

.roadmap-page .road-map h1 {
  margin-bottom: 2rem;
}

.roadmap-page .road-map ul {
  list-style-type: none;
  padding: 0;
}

.roadmap-page .road-map-step {
  background-color: #f0f2f5;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.roadmap-page .road-map-step h3 {
  margin-bottom: 1rem;
}

/* ============================================================
   TERMS PAGE (replaces termsconditionsStyles.css)
   ============================================================ */

.terms-page .terms {
  padding: 2rem 0;
}

.terms-page .terms h1 {
  margin-bottom: 2rem;
}

.terms-page .terms ul {
  list-style-type: none;
  padding: 0;
}

.terms-page .terms-step {
  background-color: #f0f2f5;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.terms-page .terms-step h3 {
  margin-bottom: 1rem;
}

/* ============================================================
   PRIVACY PAGE (replaces privacystyles.css)
   ============================================================ */

.privacy-page .privacy {
  padding: 2rem 0;
}

.privacy-page .privacy h1 {
  margin-bottom: 2rem;
}

.privacy-page .privacy ul {
  list-style-type: none;
  padding: 0;
}

.privacy-page .privacy-step {
  background-color: #f0f2f5;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.privacy-page .privacy-step h3 {
  margin-bottom: 1rem;
}

/* ============================================================
   EDIT PROFILE PAGE (replaces editprofile.css)
   ============================================================ */

.profile-page h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.profile-page h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.profile-page p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Profile form styling */
.profile-page form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  margin: 0 auto;
}

/* Profile container */
.profile-page .profile-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Button styling */
.profile-page .btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-color: var(--dsc-primary);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  margin-right: 0.5rem;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.profile-page .btn:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

.profile-page .btn:last-child {
  margin-right: 0;
}

.profile-page .modal-footer .btn {
  margin-right: 0.25rem;
}

/* User info fields */
.profile-page .user-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.profile-page .user-info p {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
  flex-basis: 45%;
}

.profile-page .provider-description {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

/* Profile action buttons */
.profile-page .profile-action-btn {
  background-color: var(--dsc-primary);
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.profile-page .profile-action-btn:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

.profile-page .logout-button {
  background-color: var(--dsc-primary);
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.profile-page .logout-button:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

.profile-page .profile-box {
  background-color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 2rem auto;
}

.profile-page .profile-background {
  background-color: #e9ecef;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-page .button-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.profile-page .validation-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.profile-page .validation-row {
  display: flex;
  gap: 1rem;
}

.profile-page .check {
  color: green;
  font-weight: bold;
}

.profile-page .cross {
  color: red;
  font-weight: bold;
}

.profile-page .data-deletion-note {
  font-size: 14px;
  color: #444;
  font-style: italic;
  text-align: center;
  margin-top: 20px;
}

.profile-page .change-password-btn {
  max-width: 200px;
}

/* Profile page mobile */
@media screen and (max-width: 767px) {
  .profile-page p {
    display: grid;
  }

  .profile-page label {
    margin-top: 10px;
  }
}

/* ============================================================
   EDIT PROFILE FORM PAGE (replaces editprofileform.css)
   ============================================================ */

.profile-form-page form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  margin: 2rem auto;
  display: grid;
  gap: 1rem;
}

.profile-form-page input[type="text"],
.profile-form-page textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-form-page input[type="text"]:focus,
.profile-form-page textarea:focus {
  border-color: var(--dsc-accent);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
  outline: none;
}

.profile-form-page input[type="select"],
.profile-form-page select {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  width: 105%;
}

.profile-form-page button[type="submit"] {
  background-color: var(--dsc-primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.profile-form-page button[type="submit"]:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}

.profile-form-page h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.profile-form-page .back-button {
  background-color: var(--dsc-primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  text-align: center;
}

.profile-form-page .back-button:hover {
  background-color: var(--dsc-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.25);
}
