/* ==========================================
   CSS LOGIN - STYLE CREAMY LUXURY
   ========================================== */
:root {
  --primary-color: #d4a373; /* Vàng đồng Luxury */
  --primary-dark: #a67c52; /* Vàng đậm */
  --text-heading: #582f0e; /* Nâu gỗ đậm */
  --bg-body: #fdfaf1; /* Nền kem toàn trang */
  --white: #ffffff;
}

body {
  background-color: var(--bg-body) !important;
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(212, 163, 115, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(212, 163, 115, 0.05) 0%,
      transparent 40%
    );
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  font-family: "Roboto", sans-serif;
}

.login-card {
  width: 100%;
  max-width: 440px;
  border-radius: 24px;
  border: 1px solid #e2d1b3; /* Viền vàng nhạt */
  background: var(--white);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(88, 47, 14, 0.1);
}

.brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.brand-name span {
  color: var(--primary-color);
}

.icon-box {
  background-color: var(--bg-body);
  color: var(--primary-color);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 2px solid #faedcd;
}

.form-label {
  color: var(--text-heading);
  font-size: 13px;
  letter-spacing: 0.5px;
}

.form-control {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1px solid #faedcd;
  background-color: #fcfaf2;
  transition: all 0.3s;
}

.form-control:focus {
  background-color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.1);
}

.input-group-text {
  background-color: #fcfaf2;
  border: 1px solid #faedcd;
  color: var(--primary-color);
  border-radius: 12px;
}

.btn-login {
  background-color: var(--text-heading) !important;
  border: none !important;
  color: var(--white) !important;
  border-radius: 12px;
  padding: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-login:hover {
  background-color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(88, 47, 14, 0.2);
}

.register-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
}

.register-link:hover {
  color: var(--text-heading);
  text-decoration: underline;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
  color: #c2b29a;
  font-size: 11px;
  letter-spacing: 2px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #faedcd;
}
.divider:not(:empty)::before {
  margin-right: 1em;
}
.divider:not(:empty)::after {
  margin-left: 1em;
}

.alert-danger {
  background-color: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
  border-radius: 12px;
}
