@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;

  background: linear-gradient(135deg,
      #c9cfcf,
      #eac2a8);

  font-family: "Poppins", sans-serif;

  padding:
    18px 18px calc(120px + env(safe-area-inset-bottom));

  overflow-x: hidden;
}

.page-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* HEADER */

.top-header {
  width: 100%;
  max-width: 420px;

  display: flex;
  align-items: center;

  margin-bottom: 18px;

  animation: fadeTop 0.8s ease;
}

/* =========================
   HEADER ANIMATIONS
========================== */

@keyframes fadeTop {

  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textGlow {

  from {
    opacity: 0.85;
  }

  to {
    opacity: 1;
  }
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.brand-section h1 {
  font-family: "Montserrat", serif;

  font-size: 1.6rem;
  font-weight: 700;

  color: #000000;

  letter-spacing: 1px;

  line-height: 1;

  text-transform: uppercase;

  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.10);
}

.admin-popup {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: calc(100% - 110px);

  background: rgba(0, 0, 0, .5);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9998;
}

.admin-card {
  width: min(90%, 420px);

  background: #fff;

  border-radius: 24px;

  padding: 24px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-card h2 {
  text-align: center;
}

.admin-card input {
  width: 100%;
  height: 52px;

  border: none;

  background: #f3f3f3;

  border-radius: 14px;

  padding: 0 14px;
}

.password-box {
  position: relative;
}

.password-box button {
  position: absolute;

  right: 12px;
  top: 50%;

  transform: translateY(-50%);

  border: none;
  background: none;

  cursor: pointer;
}

#loginBtn {
  height: 52px;

  border: none;

  border-radius: 14px;

  background: #9c5015;

  color: #fff;

  font-weight: 600;

  cursor: pointer;
}

#loginError {
  color: red;
  text-align: center;
}

/* NAVIGATION */

.bottom-nav {
  position: fixed;

  bottom: calc(15px + env(safe-area-inset-bottom));

  left: 50%;
  transform: translateX(-50%);

  width: min(92vw, 420px);
  height: 78px;

  background: rgba(182, 181, 181, 0.92);

  border-radius: 28px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  padding: 0 10px;

  backdrop-filter: blur(12px);

  z-index: 99999;
}

.nav-item {
  width: 68px;
  height: 68px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link {
  text-decoration: none;

  color: #ffffff;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-link i {
  font-size: 1.2rem;
}

.nav-text {
  font-size: 0.7rem;
  margin-top: 5px;
}

/* =========================
   ACTIVE NAVIGATION
========================== */

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;

  gap: 5px;

  transition: 0.35s ease;
}

.nav-link i {
  transition: 0.35s ease;
}

.nav-text {
  position: absolute;

  bottom: -10px;

  opacity: 0;

  transform: translateY(10px);

  transition: 0.35s ease;

  color: #000000;
}

.nav-item.active .nav-link i {
  transform: translateY(-10px);

  color: #9c5015;

  text-shadow:
    0 0 10px rgb(253, 210, 196),
    0 0 25px rgba(255, 187, 164, 1);
}

.nav-item.active .nav-text {
  opacity: 1;

  transform: translateY(0);

  font-weight: 600;
}

/* MOBILE */

@media (max-width:480px) {}