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

body {
  min-height: 100vh;
  background: #0c0f14;
  background-image: url('whiteBGs.jpg');
  background-size: cover;
  background-position: center;
  font-family: 'DM Sans', sans-serif;
  color: #d4cfc9;
  overflow: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  opacity: 0.55;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  padding: 28px 40px;
  display: flex;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a08070;
}

.center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 120px;
}

.card {
  width: min(420px, 100%);
  background: rgba(14, 16, 22, 0.55);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 52px 48px 48px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.3),
    0 24px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}

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

.fade-in {
    opacity: 0;

    transform: translateY(30px);

    animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeInUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a6a5a;
  margin-bottom: 16px;
  animation: fadeUp 0.9s 0.1s cubic-bezier(0.22,1,0.36,1) both;
}

.headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  color: #ede8e3;
  margin-bottom: 8px;
  animation: fadeUp 0.9s 0.15s cubic-bezier(0.22,1,0.36,1) both;
}

.sub {
  font-size: 13px;
  font-weight: 300;
  color: #4e5566;
  letter-spacing: 0.03em;
  margin-bottom: 36px;
  animation: fadeUp 0.9s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

.field {
  animation: fadeUp 0.9s 0.28s cubic-bezier(0.22,1,0.36,1) both;
}

.inp {
  width: 100%;
  height: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  color: #ede8e3;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 0 18px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  display: block;
}

.inp::placeholder { color: #343a47; }

.inp:focus {
  border-color: rgba(160, 110, 85, 0.5);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(160,110,85,0.1);
}

.hint {
  text-align: center;
  font-size: 12px;
  font-weight: 300;
  color: #323743;
  letter-spacing: 0.04em;
  margin-top: 20px;
  margin-bottom: 25px;
  animation: fadeUp 0.9s 0.35s cubic-bezier(0.22,1,0.36,1) both;
}


.login-hint {
    font-size: 11px;
    font-weight: 300;
    color: #2e3440;
    letter-spacing: 0.04em;
    margin-top: 12px;
    margin-bottom: 12px;
    text-align: center;
}

.login-hint a {
    color: #7a5a48;
    text-decoration: none;
    transition: color 0.2s;
}

.login-hint a:hover { color: #a08070; }


.btn {
  width: 100%;
  height: 50px;
  background: rgba(140, 90, 65, 0.18);
  border: 1px solid rgba(160, 110, 85, 0.35);
  border-radius: 10px;
  color: #c8a898;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  animation: fadeUp 0.9s 0.42s cubic-bezier(0.22,1,0.36,1) both;
}

.btn:hover {
  background: rgba(140, 90, 65, 0.3);
  border-color: rgba(160, 110, 85, 0.6);
  color: #dbbfb0;
}

.btn:active {
  transform: scale(0.98);
  background: rgba(140, 90, 65, 0.38);
}

.searchbtn {
  width: 100px;
  height: 50px;
  background: rgba(140, 90, 65, 0.18);
  border: 1px solid rgba(160, 110, 85, 0.35);
  border-radius: 10px;
  color: #c8a898;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  animation: fadeUp 0.9s 0.42s cubic-bezier(0.22,1,0.36,1) both;
}

.searchbtn:hover {
  background: rgba(140, 90, 65, 0.3);
  border-color: rgba(160, 110, 85, 0.6);
  color: #dbbfb0;
}

.searchbtn:active {
  transform: scale(0.98);
  background: rgba(140, 90, 65, 0.38);
}
