/* Premium Black Theme Auth CSS */
:root {
  --brand-gold: #a64b2a;
  --bg-dark: #070707;
  --bg-input: #111111;
  --border-color: #333333;
  --text-main: #ffffff;
  --text-muted: #888888;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Layout */
.auth-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Image Side */
.auth-image-side {
  flex: 1;
  display: none;
  background: url('../img/espresso-03.jpeg') center/cover no-repeat;
  position: relative;
}

.auth-image-side.signup-bg {
  background: url('../img/footer-img.jpeg') center/cover no-repeat;
}

@media (min-width: 900px) {
  .auth-image-side {
    display: flex;
  }
}

.auth-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
  display: flex;
  align-items: flex-end;
  padding: 80px 60px;
}

.overlay-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #fff;
  margin: 0 0 15px 0;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.overlay-content p {
  color: #dddddd;
  font-size: 1.1rem;
  max-width: 400px;
  line-height: 1.6;
  margin: 0;
}

/* Form Side */
.auth-form-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: var(--bg-dark);
  position: relative;
}

.form-container {
  width: 100%;
  max-width: 420px;
  animation: fadeIn 0.8s ease forwards;
}

.back-link {
  position: absolute;
  top: 40px;
  left: 40px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

@media (max-width: 900px) {
  .back-link {
    top: 20px;
    left: 20px;
  }
}

.back-link:hover {
  color: var(--brand-gold);
}

.auth-header {
  margin-bottom: 40px;
  text-align: center;
}

.auth-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin: 0 0 10px 0;
  color: var(--text-main);
}

.auth-header h2 span {
  color: var(--brand-gold);
}

.auth-header p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1rem;
}

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ccc;
}

.input-group input {
  padding: 14px 16px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  width: 100%;
}

.input-group input::placeholder {
  color: #555;
}

.input-group input:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(166, 75, 42, 0.15);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.remember-me {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.remember-me input {
  accent-color: var(--brand-gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.forgot-password {
  color: var(--brand-gold);
  text-decoration: none;
  font-weight: 500;
  transition: text-decoration 0.3s;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Buttons */
.btn-primary {
  background-color: var(--brand-gold);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  width: 100%;
}

.btn-primary:hover {
  background-color: #8c3b1f;
  transform: translateY(-1px);
}

.toggle-text {
  text-align: center;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.toggle-text a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.toggle-text a:hover {
  color: var(--brand-gold);
}

.no-link-style {
  color: inherit;
  text-decoration: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}