/* =========================================================
   CAMPUSKART — SELLER PASSWORD RESET
   Modern, app-styled layout
========================================================= */

:root {
  --bg: #10140F;
  --bg-elevated: #161C12;
  --surface: #1B221A;
  --surface-hover: #232B20;
  --border: rgba(246, 245, 240, 0.08);
  --border-strong: rgba(246, 245, 240, 0.14);
  --brand-green: #3E8E32;
  --brand-green-dark: #2C6624;
  --brand-green-soft: rgba(62, 142, 50, 0.16);
  --accent-gold: #E8B84B;
  --accent-gold-dark: #C99A34;
  --text-primary: #F6F5F0;
  --text-secondary: #A6B0A2;
  --text-muted: #6D766A;
  --text-dark: #1B221A;
  --danger: #E15B4D;
  --warning: #F59E0B;
  --success: #34D399;
  --info: #60A5FA;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* =========================================================
   RESET / BASE
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
  width: 100%;
  max-width: 450px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  padding: 32px 28px 28px;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  text-align: center;
  margin-bottom: 24px;
}

.header .header-icon {
  width: 56px;
  height: 56px;
  background: rgba(232, 184, 75, 0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  color: var(--accent-gold);
}

.header-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.header-title .highlight {
  color: var(--accent-gold);
}

.header-title .highlight::after {
  content: '.';
  color: var(--accent-gold);
}

.header .form-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(232, 184, 75, 0.10);
  padding: 2px 12px;
  border-radius: 999px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

/* =========================================================
   FORM
========================================================= */

.form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 6px;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* =========================================================
   INPUT
========================================================= */

.input-group {
  margin-bottom: 20px;
}

.input-field {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.3s ease;
}

.input-field::placeholder {
  color: var(--text-muted);
}

.input-field:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.08);
  background: var(--bg-elevated);
}

/* =========================================================
   ERROR MESSAGE
========================================================= */

.error-message {
  background: rgba(225, 91, 77, 0.08);
  border: 1px solid rgba(225, 91, 77, 0.15);
  color: var(--danger);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.error-message i {
  margin-top: 2px;
  flex-shrink: 0;
}

/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-button {
  width: 100%;
  padding: 14px;
  background: var(--accent-gold);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-button:hover:not(:disabled) {
  background: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 184, 75, 0.25);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.submit-button i {
  font-size: 16px;
}

/* =========================================================
   FOOTER LINK
========================================================= */

.footer {
  margin-top: 20px;
  text-align: center;
}

.footer-link {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link i {
  margin-right: 6px;
}

.footer-link:hover {
  color: var(--accent-gold);
}

/* =========================================================
   DIVIDER
========================================================= */

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 16px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-text {
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
  body {
    padding: 16px;
  }

  .container {
    padding: 24px 20px 20px;
    border-radius: var(--radius-md);
  }

  .header-title {
    font-size: 20px;
  }

  .form-title {
    font-size: 18px;
  }

  .input-field {
    padding: 10px 14px;
    font-size: 14px;
  }

  .submit-button {
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 12px;
  }

  .container {
    padding: 18px 16px 16px;
    border-radius: var(--radius-sm);
  }

  .header-title {
    font-size: 18px;
  }

  .header .header-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .form-title {
    font-size: 17px;
  }

  .form-subtitle {
    font-size: 13px;
  }

  .input-field {
    padding: 9px 12px;
    font-size: 13px;
  }

  .submit-button {
    padding: 11px;
    font-size: 13px;
  }

  .error-message {
    font-size: 12px;
    padding: 10px 14px;
  }

  .footer-link {
    font-size: 12px;
  }

  .form-badge {
    font-size: 8px;
    padding: 1px 8px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 14px 12px 12px;
  }

  .header-title {
    font-size: 16px;
  }

  .form-title {
    font-size: 15px;
  }

  .input-field {
    padding: 8px 10px;
    font-size: 12px;
  }

  .submit-button {
    padding: 10px;
    font-size: 12px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}