﻿@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Rajdhani:wght@600;700&display=swap");

:root {
  color-scheme: light;
  --red-700: #b3001b;
  --red-600: #c41c2f;
  --red-500: #d9364f;
  --gray-900: #2e2e2e;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-200: #ececec;
  --gray-100: #f6f6f6;
  --white: #ffffff;
  --shadow-soft: 0 18px 32px rgba(15, 15, 15, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  background: var(--gray-100);
  color: var(--gray-900);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.top-alert {
  background: var(--red-700);
  color: #fff;
  font-size: 0.85rem;
}

.top-alert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.top-alert-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-alert-text {
  font-weight: 500;
}

.top-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.select-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.select-pill select {
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
}

.pill-icon {
  font-size: 0.9rem;
}

.pill-icon svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
}

.pill-text {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.site-header {
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--red-700);
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.brand-text {
  display: grid;
}

.brand-name {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--red-700);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 8px 12px;
  background: #fafafa;
  box-shadow: inset 0 0 0 1px transparent;
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  padding: 4px 6px;
}

.search-bar button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
}

.search-bar svg {
  width: 20px;
  height: 20px;
  stroke: var(--gray-500);
  fill: none;
  stroke-width: 1.8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--gray-700);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge {
  position: absolute;
  top: -4px;
  right: -2px;
  background: var(--red-700);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 5px;
  border-radius: 999px;
}

.login-shortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gray-700);
}

.login-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-700);
}

.header-nav {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: #fff;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-700);
  font-size: 0.85rem;
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gray-100);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--red-700);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-label {
  display: block;
  font-weight: 600;
  color: var(--gray-500);
}

.contact-value {
  font-weight: 600;
  color: var(--gray-700);
}

.login-main {
  padding: 42px 0 60px;
  display: grid;
  gap: 24px;
  justify-content: center;
}

.auth-card {
  width: min(640px, 90vw);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 28px 32px;
}

.auth-card--compact {
  padding: 16px 20px;
}

.auth-title {
  text-align: center;
  color: var(--red-700);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.auth-subtitle {
  text-align: center;
  color: var(--gray-500);
  margin: 0 0 22px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fdfdfd;
}

.form-error {
  background: #ffeaea;
  color: #a5162b;
  border: 1px solid #f5c1c1;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.form-success {
  background: #e8fff2;
  color: #0f7b40;
  border: 1px solid #b6f0ce;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.primary-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: var(--red-700);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 8px;
}

.auth-meta {
  text-align: center;
  margin-top: 12px;
  font-size: 0.9rem;
}

.auth-meta a {
  color: var(--red-700);
  text-decoration: none;
  font-weight: 600;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--gray-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 40px 0;
  color: var(--gray-700);
}

.footer-grid h4 {
  margin: 0 0 12px;
  color: var(--gray-900);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact,
.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--gray-700);
  text-decoration: none;
}

.footer-bottom {
  background: var(--red-700);
  color: #fff;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 0.85rem;
}

.footer-flags {
  display: flex;
  gap: 8px;
}

.footer-flags span {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 6px;
}

@media (max-width: 1000px) {
  .header-main {
    grid-template-columns: 1fr;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .nav-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-contact {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .top-alert-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-bar {
    width: 100%;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .auth-card {
    padding: 22px 18px;
  }
}
