/* =========================================================
   ROOT VARIABLES
========================================================= */
:root {
  --primary: #c00000;
  --accent: #f8f9fa;
  --dark: #222;
  --light: #fff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* =========================================================
   GLOBAL STYLES
========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
  background: var(--light);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.brand img {
  width: 155px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.btn-outline {
  border: 1px solid var(--primary);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}


.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid blue;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  transition: 0.3s;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--primary);
  color: var(--light);
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer .tagline {
  font-style: italic;
  color: #ffd54f;
  margin-top: 0.3rem;
  font-weight: 500;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--light);
    position: absolute;
    top: 70px;
    right: 5%;
    width: 90%;
    box-shadow: var(--shadow);
    padding: 1rem;
    border-radius: 6px;
  }

  .nav-links a {
    padding: 0.6rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ======== AUTHENTICATION PAGES STYLING ======== */
main {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #ffffff, #ffeaea);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}
.auth-container {
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.auth-container h1 {
  color: #e60000;
  margin-bottom: 1.5rem;
}

.auth-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.auth-container label {
  font-weight: 600;
  color: #444;
}

.auth-container input {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.btn-primary {
  background: #e60000;
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: #b00000;
  transform: scale(1.05);
}

.btn-google {
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  color: #444;
  transition: all 0.3s ease;
}
.btn-google:hover {
  background: #f1f1f1;
}

.or {
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #888;
  text-align: center;
}

.auth-container p {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.auth-container a {
  color: #e60000;
  text-decoration: none;
  font-weight: 500;
}
.auth-container a:hover {
  text-decoration: underline;
}
