/* ================= NAV ================= */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(6,12,21,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-shell {
  max-width: var(--max);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

.brand {
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.top-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.top-nav a:hover {
  background: rgba(255,255,255,0.1);
}

/* ================= DROPDOWN ================= */

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  background: #111827;
  padding: 10px;
  border-radius: 10px;
  min-width: 180px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ================= HERO ================= */

.hero {
  padding: 50px;
  border-radius: 24px;
  background: linear-gradient(135deg,#0b2a2f,#0c1f3f);
  margin-bottom: 30px;
}

/* ================= LAYOUT ================= */

.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
}

.sidebar {
  background: rgba(255,255,255,0.03);
  padding: 16px;
  border-radius: 16px;
}

.main {
  display: flex;
  flex-direction: column;
}

/* ================= CARDS ================= */

.calc-card {
  background: #111827;
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.calc-header h2 {
  margin-bottom: 10px;
}

/* ================= FORM ================= */

.calc-body label {
  font-size: 13px;
  color: #93a4bd;
  margin-bottom: 6px;
  display: block;
}

/* ================= INPUTS PRO ================= */

.calc-body input {
  width: 100%;
  backdrop-filter: blur(6px);
  padding: 14px 16px;
  margin-bottom: 16px;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.04);
  color: #ffffff;

  font-size: 15px;
  font-weight: 500;

  transition: all 0.25s ease;
}

/* Placeholder */
.calc-body input::placeholder {
  color: #7c8aa5;
}

/* Hover */
.calc-body input:hover {
  border-color: rgba(255,255,255,0.15);
}

/* Focus (MOST IMPORTANT) */
.calc-body input:focus {
  outline: none;
  border-color: #00d09c;
  box-shadow: 0 0 0 2px rgba(0,208,156,0.2);
  background: rgba(255,255,255,0.06);
}

/* ================= BUTTON ================= */

.btn-primary {
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg,#00d09c,#38bdf8);
  border: none;
  font-weight: bold;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px){
  .layout {
    grid-template-columns: 1fr;
  }
}
.side-card {
  background: rgba(255,255,255,0.04);
  padding: 16px;
  border-radius: 16px;
}

.side-card a {
  display: block;
  margin: 8px 0;
  color: #00d09c;
  text-decoration: none;
}
