/* ===================================================
   AI Interview Copilot — Auth Stylesheet
   Minimal black & white design
   =================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #000000;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.hidden { display: none !important; }

/* ---------------------------------------------------
   AUTH SCREEN
   --------------------------------------------------- */

.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-container {
  width: 100%;
  max-width: 420px;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 12px;
}

.auth-divider {
  width: 48px;
  height: 3px;
  background: #000;
  margin: 0 auto 32px;
  border-radius: 2px;
}

/* ---------------------------------------------------
   TABS
   --------------------------------------------------- */

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border-bottom: 2px solid #e0e0e0;
}

.auth-tab {
  flex: 1;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s, border-color 0.2s;
}

.auth-tab:hover {
  color: #333;
}

.auth-tab.active {
  color: #000;
  border-bottom-color: #000;
}

/* ---------------------------------------------------
   FORM
   --------------------------------------------------- */

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
}

.auth-field input {
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
  color: #000;
}

.auth-field input:focus {
  border-color: #000;
  background: #fff;
}

.auth-field input::placeholder {
  color: #bbb;
}

/* ---------------------------------------------------
   BUTTONS
   --------------------------------------------------- */

.auth-btn {
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 4px;
}

.auth-btn:hover {
  background: #222;
}

.auth-btn:active {
  transform: scale(0.98);
}

.auth-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-link {
  background: none;
  border: none;
  color: #666;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  padding: 0;
  transition: color 0.2s;
}

.auth-link:hover {
  color: #000;
  text-decoration: underline;
}

/* ---------------------------------------------------
   HINT TEXT
   --------------------------------------------------- */

.auth-hint {
  font-size: 0.88rem;
  color: #666;
  text-align: center;
  margin-bottom: 4px;
}

/* ---------------------------------------------------
   STATUS MESSAGE
   --------------------------------------------------- */

.auth-status {
  min-height: 20px;
  font-size: 0.85rem;
  text-align: center;
  padding: 0 4px;
}

.auth-status.error {
  color: #cc0000;
}

.auth-status.success {
  color: #008800;
}

/* ---------------------------------------------------
   RESPONSIVE
   --------------------------------------------------- */

@media (max-width: 480px) {
  .auth-container {
    max-width: 100%;
  }

  .auth-title {
    font-size: 1.4rem;
  }
}
