@import url("theme.css");

.mtc-page{
  background: var(--mtc-bg);
  color: var(--mtc-text);
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

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

.container{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.muted{ color: var(--mtc-muted); }
.tiny{ font-size: 0.85rem; }

.hero-pill{
  display: inline-flex;
  align-items: center;
  background: rgba(136,38,21,0.045);
  border: 1px solid rgba(136,38,21,0.12);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 950;
  margin: 0 0 0.8rem;
}

h1{ margin: 0 0 0.7rem; font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.05; }
h2{ margin: 0 0 0.2rem; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 950;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary{
  background: var(--mtc-gold);
  color: #1b120e;
  box-shadow: 0 14px 28px rgba(233,78,26,0.22);
}
.btn-primary:hover{ transform: translateY(-1px); }

.btn-ghost{
  background: rgba(136,38,21,0.045);
  color: var(--mtc-text);
  border-color: rgba(136,38,21,0.14);
}
.btn-ghost:hover{
  border-color: rgba(253,194,17,0.35);
  transform: translateY(-1px);
}

.btn-block{ width: 100%; }

/* Layout */
.login-wrap{
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(900px circle at 15% 10%, rgba(253,194,17,0.18), transparent 55%),
    radial-gradient(900px circle at 85% 0%, rgba(233,78,26,0.18), transparent 55%),
    linear-gradient(135deg, rgba(231,222,206,0.96) 0 18%, rgba(251,248,242,0.98) 18% 62%, rgba(233,106,26,0.10) 100%);
  border-bottom: 1px solid rgba(136,38,21,0.08);
}

.login-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

/* Left panel */
.brand-panel{
  padding: 0.5rem 0;
}

.brand-cards{
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.card{
  background: rgba(136,38,21,0.045);
  border: 1px solid rgba(136,38,21,0.12);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--mtc-shadow-soft);
}

.mini-title{
  font-weight: 1000;
  margin-bottom: 0.4rem;
}

.link{
  color: var(--mtc-gold);
  text-decoration: none;
  font-weight: 950;
}
.link:hover{ text-decoration: underline; }

/* Login card */
.login-card{
  background: rgba(136,38,21,0.045);
  border: 1px solid rgba(136,38,21,0.12);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--mtc-shadow);
}

.login-head{
  margin-bottom: 0.9rem;
}

.login-form{
  display: grid;
  gap: 0.85rem;
}
.login-form *{ min-width: 0; }

label{
  display: grid;
  gap: 0.35rem;
  font-weight: 950;
}

input{
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(136,38,21,0.14);
  background: rgba(255,255,255,0.92);
  color: var(--mtc-text);
  outline: none;
  width: 100%;
}

input:focus{
  border-color: rgba(253,194,17,0.5);
  box-shadow: 0 0 0 4px rgba(253,194,17,0.12);
}

.password-row{
  position: relative;
}

.small-link{
  justify-self: end;
  margin-top: -1.7rem;
  font-size: 0.85rem;
  font-weight: 950;
  color: var(--mtc-gold);
  text-decoration: none;
}
.small-link:hover{ text-decoration: underline; }

.row{
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.1rem;
}

.checkline{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mtc-muted);
  font-weight: 850;
}
.checkline input{ width: auto; }

.divider{
  display: grid;
  place-items: center;
  margin: 0.3rem 0;
  position: relative;
}
.divider::before{
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: rgba(136,38,21,0.10);
}
.divider span{
  position: relative;
  padding: 0 0.8rem;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(136,38,21,0.10);
  border-radius: 999px;
  color: var(--mtc-muted);
  font-weight: 900;
  font-size: 0.85rem;
}

.footnote{
  margin: 0;
  line-height: 1.4;
}

.hint{
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(136,38,21,0.12);
  background: rgba(136,38,21,0.035);
  color: var(--mtc-muted);
}

/* Responsive */
@media (max-width: 1100px){
  .login-grid{ grid-template-columns: 1fr; }
}


.container{ position: relative; }
.section-alt{
  background: linear-gradient(135deg, rgba(231,222,206,0.62) 0 18%, rgba(255,255,255,0.66) 18% 100%);
  border-top: 1px solid var(--mtc-border);
  border-bottom: 1px solid var(--mtc-border);
}
.hero-pill,
.badge{
  color: var(--mtc-deep);
  background: rgba(253,194,17,0.18);
  border: 1px solid rgba(253,194,17,0.35);
}
.card,
.hero-card,
.opp-card,
.result-card,
.post-card,
.form-card,
.info-card,
.contact-card,
.sidebar-card,
.login-card,
.feature-card,
.value-card,
.team-card,
.route-card,
.alert,
.route-stop-row,
.route-trip-row,
.route-kpi{
  background: var(--mtc-surface-strong);
  border: 1px solid var(--mtc-border);
  box-shadow: var(--mtc-shadow-soft);
}
.home-hero,
.opp-hero,
.about-hero,
.media-hero,
.hire-hero,
.routes-hero,
.login-wrap{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--mtc-border);
}
.home-hero::before,
.opp-hero::before,
.about-hero::before,
.media-hero::before,
.hire-hero::before,
.routes-hero::before,
.login-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(231,222,206,0.94) 0 18%, transparent 18% 100%),
    radial-gradient(600px circle at 85% 12%, rgba(253,194,17,0.16), transparent 45%),
    radial-gradient(700px circle at 78% 82%, rgba(233,106,26,0.12), transparent 42%),
    repeating-linear-gradient(120deg, transparent 0 32px, rgba(233,106,26,0.04) 32px 33px);
  pointer-events:none;
}
.home-hero > *, .opp-hero > *, .about-hero > *, .media-hero > *, .hire-hero > *, .routes-hero > *, .login-wrap > *{ position: relative; z-index:1; }
.btn-primary{
  background: linear-gradient(135deg, var(--mtc-gold), #ffd768);
  color: var(--mtc-deep);
  box-shadow: 0 14px 24px rgba(233,106,26,0.16);
}
.btn-ghost{
  background: rgba(255,255,255,0.78);
  color: var(--mtc-deep);
}
.link{ color: var(--mtc-deep); }
.link:hover{ color: var(--mtc-primary); }
.muted{ color: var(--mtc-muted); }
.search-form input,
.search-form select,
.search-form textarea,
.form-control,
input,
select,
textarea{
  background: rgba(255,255,255,0.92);
  color: var(--mtc-text);
  border: 1px solid var(--mtc-border);
}
