main {
    font-family: 'Montserrat', sans-serif;
    background: #111;
    color: #f5f5f5;
    line-height: 1.7;
}

/* ===== Header ===== */
.site-header {
    border-bottom: 1px solid #eee;
    background: #111;
    color: #f5f5f5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Logo */
.logo {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Menu button (mobile) */
.menu-btn {
    font-size: 1.5rem;
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Nav links */
.nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #111;
    color: #f5f5f5;
    display: none;
    flex-direction: column;
    border-bottom: 1px solid #eee;
}

.nav-links a {
    padding: 1rem;
    text-decoration: none;
    color: #f5f5f5;
    border-top: 1px solid #eee;
    display: block;              /* important for full-width hover */
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background-color: #f0f0f0;   /* light grey */
    color: #111;                 /* optional: better contrast */
}

/* Show menu */
.nav-links.open {
    display: flex;
}

/* ===== Desktop ===== */
@media (min-width: 768px) {
    .menu-btn {
        display: none;
    }

    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        gap: 2rem;
        border: none;
    }

    .nav-links a {
        border: none;
        padding: 0;
    }
}
/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}


.time-btn {
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    border: 1px solid #4f46e5;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

.time-btn.selected-time {
    background: #4f46e5;
    color: white;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.cancel-btn {
    background: #f87171;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.confirm-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.confirm-btn:disabled {
    background: #94d3b2;
    cursor: not-allowed;
}
/* Barber Dashboard (won't affect customer page) */
.barber-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 600px) {
    .barber-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.barber-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.barber-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.barber-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.container {
    max-width: 500px;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.error {
    color: red;
    margin-bottom: 10px;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}
