/* ================================================= */
/* RESET */
/* ================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0d0f12;
    color: #ffffff;
    line-height: 1.6;
}

/* ================================================= */
/* GLOBAL LAYOUT */
/* ================================================= */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

main {
    min-height: 70vh;
}

/* ================================================= */
/* HEADER */
/* ================================================= */

.header {
    padding: 24px 0;
    border-bottom: 1px solid #1c2028;
    background: #0d0f12;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 20px;
}

nav a {
    color: #b0b6c3;
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    transition: 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}

/* ================================================= */
/* BUTTONS */
/* ================================================= */

.btn-primary {
    background: #e10600;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #ff1f19;
}

.btn-outline {
    border: 1px solid #e10600;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    color: #e10600;
    font-weight: 500;
    background: transparent;
    display: inline-block;
    cursor: pointer;
}

.btn-outline:hover {
    background: #e10600;
    color: #ffffff;
}

/* ================================================= */
/* AUTH */
/* ================================================= */

.auth-container {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: #1c2028;
    padding: 50px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
}

.auth-card h2 {
    margin-bottom: 30px;
}

.auth-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #15181f;
    border: 1px solid #2a2f3a;
    color: white;
    border-radius: 6px;
    font-size: 14px;
}

.auth-card input:focus {
    outline: none;
    border-color: #e10600;
}

.error {
    color: #e10600;
    margin-top: 10px;
    font-size: 14px;
}

/* ================================================= */
/* DASHBOARD */
/* ================================================= */

.dashboard-page {
    padding: 100px 0;
}

.dashboard-title {
    margin-bottom: 40px;
    font-size: 36px;
}

.dashboard-card {
    background: #1c2028;
    padding: 30px;
    border-radius: 8px;
    transition: 0.2s ease;
}

.dashboard-card:hover {
    border: 1px solid #e10600;
}

/* ================================================= */
/* VEHICLE BUTTONS */
/* ================================================= */

.vehicle-btn {
    display: block;
    width: 100%;
    padding: 18px;
    margin-bottom: 18px;
    background: #e10600;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    transition: 0.2s ease;
    box-shadow: 0 4px 12px rgba(225, 6, 0, 0.25);
}

.vehicle-btn:hover {
    background: #ff1f19;
    transform: translateY(-2px);
}

/* ================================================= */
/* BOOKING CALENDAR */
/* ================================================= */

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-btn {
    background: #e10600;
    border: none;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: 0.2s ease;
    box-shadow: 0 4px 12px rgba(225, 6, 0, 0.25);
}

.nav-btn:hover {
    background: #ff1f19;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(225, 6, 0, 0.4);
}

.current-date {
    font-weight: 700;
    font-size: 18px;
}

/* ================================================= */
/* GRID */
/* ================================================= */

.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
}

/* ================================================= */
/* TIME & DATE BUTTONS */
/* ================================================= */

.time-btn {
    padding: 16px;
    background: #15181f;
    border: 2px solid #2a2f3a;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.time-btn:hover {
    border-color: #e10600;
    background: #222833;
    transform: translateY(-2px);
}

.time-btn.selected {
    background: #e10600;
    border-color: #e10600;
}

/* ================================================= */
/* FOOTER */
/* ================================================= */

.footer {
    padding: 40px 0;
    border-top: 1px solid #1c2028;
    text-align: center;
    color: #888;
    background: #0d0f12;
}

/* ================================================= */
/* RESPONSIVE */
/* ================================================= */

@media (max-width: 768px) {

    nav a {
        margin-left: 15px;
    }

    .dashboard-title {
        font-size: 28px;
    }

    .auth-card {
        padding: 30px;
    }
}
