/* ============================================================
   Login — Barbearia PRO · Padrão Premium (dark + dourado)
   Identidade visual: fundo #070707, acentos #D4AF37
   ============================================================ */

:root {
  --gold: #D4AF37;
  --gold-light: #F0CD7F;
  --gold-dark: #8a6d1f;
  --bg: #070707;
  --card: rgba(20, 20, 20, 0.82);
  --text: #e8e8e8;
  --text-muted: #9ca3af;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100vh;
}

/* ---------- Hero Area ---------- */
.hero_area {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero_area .hero_bg_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.hero_area .hero_bg_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.55) saturate(1.1);
}

.hero_area .hero_bg_box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.72));
}

.hero_area .hero_bg_box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), transparent);
  opacity: 0.9;
  z-index: 2;
}

/* ---------- Header ---------- */
.header_section {
  padding: 18px 0;
  position: relative;
  z-index: 10;
}

.navbar-brand {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.navbar-brand::before {
  content: "\f0c4";
  font-family: "FontAwesome";
  color: var(--gold);
  font-size: 22px;
}

.navbar-brand:hover {
  color: var(--gold-light) !important;
  text-decoration: none;
}

.custom_nav-container {
  padding: 0;
}

.nav-link {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-link:hover {
  color: var(--gold-light) !important;
  text-decoration: none;
}

/* ---------- Login Section ---------- */
.login_section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.min-vh-100 {
  height: calc(100vh - 90px);
  overflow: hidden;
}

.login_container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding: 0 15px;
}

.login_form {
  background: var(--card);
  border-radius: 20px;
  padding: 38px 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  max-height: 82vh;
  overflow: hidden;
  position: relative;
}

.login_form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  border-radius: 20px 20px 0 0;
}

.heading_container h2 {
  color: var(--gold-light) !important;
  font-family: "Playfair Display", "Poppins", serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.heading_container h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.heading_container p {
  color: var(--text-muted) !important;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Form ---------- */
.form-group {
  margin-bottom: 16px;
}

.input-group {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.input-group:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
}

.input-group-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #171204;
  border: none;
  padding: 13px 16px;
  font-size: 15px;
}

.form-control {
  border: none;
  padding: 13px 16px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: all 0.3s;
}

.form-control::placeholder {
  color: #8b8f98;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  box-shadow: none;
  border: none;
  outline: none;
}

/* ---------- Button ---------- */
.btn-login {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #171204;
  border: none;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

.btn-login:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.38);
  color: #171204;
}

.btn-login:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
  color: #171204;
}

/* ---------- Recovery Link ---------- */
.recuperar-link {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.3s;
}

.recuperar-link:hover {
  color: var(--gold);
  text-decoration: none;
}

/* ---------- Modal ---------- */
.modal-content {
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: #121212;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-header {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #171204;
  border-radius: 15px 15px 0 0;
  border-bottom: none;
}

.modal-title {
  font-weight: 700;
}

.modal-body {
  padding: 30px;
  background: #121212;
  color: var(--text);
}

.modal-body .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 30px;
  background: #121212;
  border-radius: 0 0 15px 15px;
}

.modal-footer .btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  color: #171204;
  font-weight: 600;
}

.modal-footer .btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.close {
  color: #171204;
  opacity: 0.85;
}

/* ---------- Utilities ---------- */
.text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mr-1 {
  margin-right: 0.25rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .login_form {
    padding: 28px 22px;
    margin: 10px;
    max-height: 86vh;
  }

  .heading_container h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }

  .heading_container p {
    font-size: 0.9rem;
    margin-bottom: 15px !important;
  }

  .form-group {
    margin-bottom: 13px;
  }

  .hero_area .hero_bg_box::before {
    background: linear-gradient(to right, rgba(7, 7, 7, 0.97), rgba(7, 7, 7, 0.85));
  }
}

@media (max-width: 576px) {
  body {
    overflow: hidden;
  }

  .login_form {
    padding: 24px 18px;
    margin: 5px;
    max-height: 90vh;
  }

  .heading_container h2 {
    font-size: 1.2rem;
  }

  .input-group-text,
  .form-control {
    padding: 10px 12px;
    font-size: 14px;
  }

  .btn-login {
    padding: 11px 12px;
    font-size: 13px;
  }

  .form-group {
    margin-bottom: 11px;
  }
}
