html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

:root {
    --ride-dark-green: #173f2b;
    --ride-mid-green: #20653d;
    --ride-bright-green: #2b7a4b;
    --ride-vivid-green: #1f9d55;
    --ride-bg-1: #f4f7f3;
    --ride-bg-2: #eef3ef;
    --ride-bg-3: #e8f4eb;
    --ride-bg-4: #dff3e5;
    --ride-border: #dce5de;
    --ride-text: #132219;
    --ride-text-muted: #5b6960;
}

body {
    background-color: var(--ride-bg-1);
    color: var(--ride-text);
}

.ride-hero {
    padding: 2rem 0;
}

.ride-eyebrow {
    display: inline-flex;
    background: var(--ride-bg-4);
    color: var(--ride-mid-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.5rem 1rem;
    border-radius: 999px;
}

.ride-heading {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.ride-subtext {
    color: var(--ride-text-muted);
}

.ride-step-card {
    border: 1px solid var(--ride-border);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 1rem;
}

.ride-step-num {
    color: var(--ride-bright-green);
    font-weight: 700;
    font-size: 0.75rem;
}

.ride-card {
    background: #fff;
    border: 1px solid var(--ride-border);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(30, 65, 43, 0.12);
    padding: 1.75rem;
}

.ride-pill {
    background: var(--ride-bg-2);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.ride-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ride-mid-green);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.ride-input {
    border-radius: 12px;
    border-color: var(--ride-border);
    padding: 0.6rem 0.9rem;
}

.ride-input:focus {
    border-color: var(--ride-bright-green);
    box-shadow: 0 0 0 4px rgba(43, 122, 75, 0.15);
}

.ride-btn-primary {
    background-color: var(--ride-dark-green);
    color: #fff;
    border-radius: 12px;
    border: none;
}

.ride-btn-primary:hover {
    background-color: var(--ride-mid-green);
    color: #fff;
}

.ride-timeline-scale {
    position: relative;
    height: 20px;
    margin-left: 152px;
    font-size: 0.75rem;
    color: var(--ride-text-muted);
}

.ride-timeline-scale span {
    position: absolute;
    transform: translateX(-50%);
}

.ride-timeline-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--ride-border);
}

.ride-timeline-row:first-of-type {
    border-top: none;
}

.ride-timeline-label {
    width: 140px;
    flex-shrink: 0;
}

.ride-timeline-track {
    position: relative;
    flex: 1;
    height: 36px;
    background: var(--ride-bg-2);
    border-radius: 8px;
    overflow: hidden;
}

.ride-timeline-block {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 6px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 6px;
    text-decoration: none;
}

.ride-timeline-block--booked {
    background: var(--ride-bg-4);
    color: var(--ride-mid-green);
    border: 1px solid var(--ride-bright-green);
}

.ride-timeline-block--booked:hover {
    background: var(--ride-bright-green);
    color: #fff;
}

.ride-timeline-block--timeoff {
    left: 0;
    width: 100%;
    justify-content: center;
    background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 6px, #d4d4d4 6px, #d4d4d4 12px);
    color: var(--ride-text-muted);
}

.ride-timeline-actions {
    flex-shrink: 0;
    width: 200px;
}

.ride-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.ride-month-dow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ride-text-muted);
    text-align: center;
    padding-bottom: 4px;
}

.ride-month-day {
    background: var(--ride-bg-2);
    border: 1px solid var(--ride-border);
    border-radius: 10px;
    min-height: 84px;
    padding: 6px;
}

.ride-month-day--blank {
    background: transparent;
    border: none;
}

.ride-month-day.today {
    border-color: var(--ride-vivid-green);
    border-width: 2px;
}

.ride-month-daynum {
    font-weight: 700;
    color: var(--ride-text);
    text-decoration: none;
    display: inline-block;
}

.ride-month-daynum:hover {
    color: var(--ride-mid-green);
}

.ride-month-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 6px;
}

.ride-month-chip {
    background: var(--ride-bg-4);
    color: var(--ride-mid-green);
    border: 1px solid var(--ride-bright-green);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 6px;
}

.ride-month-chip--timeoff {
    background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 3px, #d4d4d4 3px, #d4d4d4 6px);
    color: var(--ride-text-muted);
    border-color: #d4d4d4;
}