* { box-sizing: border-box; margin: 0; padding: 0; }
:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --accent: #2b6ef6;
  --danger: #e23b3b;
  --muted: #6b7280;
  --glass: rgba(43,110,246,0.08);
  --radius: 12px;
  --container-width: 1100px;
}

body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, var(--bg), #eef3fb);
  color: #111827;
  min-height: 100vh;
  -webkit-font-smoothing:antialiased;
}

.container{
  width: min(92%, var(--container-width));
  margin: 0 auto;
}

/* Header */
.site-header{
  background: white;
  padding: 18px 0;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  font-size:1.125rem;
  font-weight:700;
  letter-spacing: -0.2px;
}
.login-btn{
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(17,24,39,0.06);
  background: white;
  cursor: pointer;
}

/* Main layout */
.main-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
  padding: 48px 0;
}

.card{
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
  min-height: 200px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.card h2{
  margin-bottom: 10px;
  font-size:1.25rem;
}
.card p{
  color: var(--muted);
  line-height:1.5;
  margin-bottom: 18px;
}

/* Buttons */
.btn{
  font-weight:600;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
}

.btn-primary{
  background: linear-gradient(90deg,var(--accent), #2260d8);
  color: white;
  box-shadow: 0 6px 18px var(--glass);
}

.btn-danger{
  background: white;
  color: var(--danger);
  border: 1px solid rgba(226,59,59,0.12);
}

.btn-ghost{
  background: transparent;
  border: 1px solid rgba(2,6,23,0.06);
}

.reserva{
  border-left: 6px solid rgba(43,110,246,0.12);
}

.cancelar{
  border-left: 6px solid rgba(226,59,59,0.08);
}

/* Responsividade */
@media (max-width: 820px){
  .main-grid{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }
  .header-inner{gap:12px}
}

@media (prefers-reduced-motion: reduce){
  *{transition:none!important}
}

.hidden {
  display: none;
}

#successMessage {
  color: green;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
}

img {
    width: 50px;
    height: 50px;
    float: left;
    margin-left: 10px;
    margin-right: 5px;
}

.h1 {
  text-align: left;
}