/* ===============================
   GLOBAL RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
}

/* ===============================
   CARD CONTAINER
================================ */
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.08);
  animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   HEADER
================================ */
.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.auth-header p {
  font-size: 14px;
  color: #6b7280;
}

/* ===============================
   FORM
================================ */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form input {
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid #e5e7eb;
  font-size: 15px;
  transition: all 0.25s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

/* ===============================
   BUTTON
================================ */
.auth-btn {
  height: 50px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(34, 197, 94, 0.4);
}

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

/* ===============================
   FOOTER
================================ */
.auth-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
}

.auth-footer a {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ===============================
   HOME PAGE
================================ */
.home-card {
  max-width: 520px;
  text-align: center;
}

.home-card h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.home-card p {
  color: #6b7280;
  margin-bottom: 24px;
}

.logout-btn {
  background: #ef4444;
  color: white;
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.logout-btn:hover {
  background: #dc2626;
}
/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  z-index: 100;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  color: #16a34a;
}

/* ================= PROFILE ================= */
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
}

.profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* ================= DROPDOWN ================= */
.dropdown {
  position: absolute;
  top: 70px;
  right: 28px;
  width: 180px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.dropdown.show {
  display: flex;
}

.dropdown a,
.dropdown button {
  padding: 14px 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.dropdown a:hover,
.dropdown button:hover {
  background: #f3f4f6;
}

/* ================= HOME ================= */
.home-container {
  margin-top: 120px;
  text-align: center;
}

.home-container h1 {
  font-size: 32px;
  margin-bottom: 10px;
}
