/* ==== RESET & BASE ==== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Poppins', Arial, sans-serif;
  color: #1e293b;
  min-height: 100vh;
  line-height: 1.6;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
header img {
  height: 120px;
  width: 140px;
  margin-right: 8px;
}
header .logout-link {
  color: #1877f2;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  margin-left: 18px;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.2s;
}
header .logout-link:hover {
  background: #f2f2f2;
}

/* ==== FOOTER ==== */
footer {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: #f3f6fa;
  padding: 32px 0 18px 0;
  border-top: 1.5px solid #e0e7ef80;
  box-shadow: 0 -2px 16px #1877f220;
  flex-shrink: 0;
}
.footer-links {
  margin-bottom: 8px;
  font-size: 1rem;
}
.footer-links a {
  margin: 0 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s, text-shadow 0.2s;
  text-shadow: 0 1px 8px #1877f2a0;
}
.footer-links a:hover {
  color: #ffe082;
  text-shadow: 0 2px 12px #fff8e1;
  text-decoration: underline;
}
.footer-company {
  margin-bottom: 4px;
  color: #e0e7ef;
  font-size: 0.97rem;
}
.footer-company a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.footer-company a:hover {
  color: #ffe082;
  text-shadow: 0 2px 12px #fff8e1;
  text-decoration: underline;
}
.footer-address {
  color: #cfd8dc;
  font-size: 0.95rem;
}
.footer-info {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.footer-info-block {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e0e7ef;
  font-size: 1rem;
  margin-bottom: 2px;
}
.footer-info-block i {
  color: #ffe082;
  font-size: 1.1em;
  margin-right: 3px;
}
.footer-info-block a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-info-block a:hover {
  color: #ffe082;
  text-decoration: underline;
}
@media (max-width: 700px) {
  footer {
    font-size: 13px;
    padding: 18px 0 10px 0;
  }
  .footer-links {
    font-size: 0.98rem;
  }
  .footer-company, .footer-address {
    font-size: 0.93rem;
  }
  .footer-info {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .footer-info-block {
    font-size: 0.97rem;
  }
}

/* ==== UTILITY ==== */
.divider {
  display: flex;
  align-items: center;
  margin: 0.8rem 0;
  color: #9ca3af;
  font-size: 0.9rem;
  opacity: 0.8;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}
.divider span {
  padding: 0 1rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e3f6e8;
  color: #10b981;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 900px) {
  header {
    padding: 0 10px;
    height: 54px;
  }
  header img {
    height: 28px;
  }
  .header-left {
    gap: 8px;
  }
  footer {
    font-size: 12px;
    padding: 12px 0 8px 0;
  }
  footer a {
    margin: 0 5px;
  }
}

.content {
  flex: 1 0 auto;
  background: transparent !important;
} 