:root {
  --navy: #14213d;
  --brown: #8b5e3c;
  --cream: #f8f7f3;
  --white: #ffffff;
  --text: #242424;
  --muted: #77736d;
  --border: #ddd8cf;

}
* {
  -webkit-tap-highlight-color: rgba(160, 160, 160, 0.2); /* soft ash grey */
  -webkit-touch-callout: none; /* prevents long-press menu on iPhone */
}

.book-card, button, .dropbtn {
  cursor: pointer;
  user-select: none; /* prevents text selection on long press */
}

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

body {
  min-height: 100vh;
  background: var(--cream);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

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

.auth-card {
  width: 100%;
  max-width: 430px;
  padding: 38px 30px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(20, 33, 61, 0.1);
}

.logo {
  display: block;
  margin-bottom: 42px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-align: center;
  text-decoration: none;
}

h1 {
  color: var(--navy);
  font-family: "Merriweather", Georgia, serif;
  font-size: 28px;
  text-align: center;
}

.subtitle {
  margin: 12px auto 30px;
  max-width: 320px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  font: inherit;
  background: var(--white);
}

input:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 18px;
  font-size: 12px;
}

.form-options a,
.signup-text a {
  color: var(--brown);
  font-weight: 600;
  text-decoration: none;
}

.remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.primary-button,
.google-button {
  width: 100%;
  height: 50px;
  border-radius: 9px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.primary-button {
  border: 0;
  background: var(--navy);
  color: var(--white);
}

.primary-button:hover {
  background: #0d172b;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0;
  color: #aaa;
  font-size: 11px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}

.google-button {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
}

.google-button:hover {
  background: #f5f2ed;
}

.signup-text {
  margin-top: 25px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 480px) {
  .auth-page {
    padding: 15px;
  }

  .auth-card {
    padding: 32px 22px;
  }

  h1 {
    font-size: 25px;
  }
h2 {
  font-family:'georgia';
  color: #1F2937;
  padding: 20px 16px;
 background: #f8f7f3;
  display: flex;
  font-size: 45px;
  font-weight: 500;
 text-align: center;
}

/* Links inside dropdown */
.button-content a {
  color: black;
  padding: 20px 16px;
  text-decoration: none;
  display: flex;
  font-size: large;
  font-weight: 500;
  font-family: 'Georgia';
  text-align: center; 
  
}