/*
 * File: styles/css/2f.css
 * Project: avrora26
 * Role: Styles for booking email verification page
 * Used in: booking_system/verify_booking_email.php
 * Depends on: local markup in verify_booking_email.php
 * Author: Team Avrora
 * Last updated: 16.02.2026
 */

html, body {
  margin: 0;
  padding: 0;
}

body.verify-email-page {
  background: #f4f8f6;
  color: #1f2a1f;
  font-family: 'Roboto', 'Segoe UI', Tahoma, Arial, sans-serif;
}

.verify-min-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding-top: env(safe-area-inset-top, 0px);
}

.verify-min-header__inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.verify-min-header__logo img {
  width: 106px;
  height: auto;
  display: block;
}

.verify-min-header__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2b3a2b;
}

.verify-min-header .verify-min-header__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 168, 142, 0.22);
  background: rgba(0, 168, 142, 0.1);
  color: #008a75;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.verify-min-header .verify-min-header__back:hover {
  background: rgba(0, 168, 142, 0.16);
  border-color: rgba(0, 168, 142, 0.32);
  color: #007665;
}

.verify-main {
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 16px 32px;
  box-sizing: border-box;
}

.verify-card {
  width: 100%;
  max-width: 420px;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  text-align: center;
  box-sizing: border-box;
}

.verify-card h1 {
  margin: 0 0 16px;
  font-size: 1.45rem;
  color: #2b3332;
}

.verify-card .error {
  color: #e74c3c;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.verify-card .success-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(47, 170, 157, 0.28);
  border-radius: 10px;
  background: rgba(47, 170, 157, 0.12);
  color: #1f7f72;
  font-size: 0.93rem;
  line-height: 1.4;
}

.verify-card .muted {
  color: #5f6b70;
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 8px 0 12px;
}

.verify-card form {
  display: flex;
  flex-direction: column;
}

.verify-card input[type= email],
.verify-card input[type=text],
.verify-card input[type=password] {
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #cccccc;
  border-radius: 8px;
}

.verify-card button[type=submit],
.verify-card button.check-btn,
.verify-card .secondary-btn,
.verify-card .reset-email-btn {
  margin-top: 12px;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #2faa9d;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.verify-card button[type=submit]:hover,
.verify-card button.check-btn:hover,
.verify-card .secondary-btn:hover,
.verify-card .reset-email-btn:hover {
  background-color: #27a48a;
}

.verify-card button[disabled],
.verify-card button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
  background-color: #8bbdb6;
}

.verify-card .resend-note {
  margin: 8px 0 0;
  color: #5f6b70;
  font-size: 0.88rem;
  line-height: 1.35;
}

.verify-card .stack-sm + .stack-sm {
  margin-top: 8px;
}

.verify-card .account-exists-note {
  font-weight: 700;
  color: #334155;
}

.verify-reset-link {
  color: #00a88e;
  text-decoration: none;
  font-weight: 700;
}

.verify-reset-link:hover {
  color: #008a75;
  text-decoration: none;
}

@media (max-width: 720px) {
  .verify-min-header__inner {
    width: calc(100% - 20px);
    min-height: 58px;
    gap: 8px;
  }

  .verify-min-header__title {
    font-size: 0.95rem;
  }

  .verify-min-header__logo img {
    width: 92px;
  }

  .verify-main {
    min-height: calc(100vh - 58px);
    min-height: calc(100dvh - 58px);
    padding: 20px 10px 24px;
    align-items: center;
  }

  .verify-card {
    width: min(100%, 420px);
    padding: 18px 14px;
    border-radius: 10px;
  }
}
