:root {
    --bottom-nav-height: 60px;
}

body {
    padding-bottom: calc(var(--bottom-nav-height) + 1rem);
    background-color: #f8f9fa;
    max-width: 600px;
    margin: 0 auto;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 600px;
    margin: 0 auto;
    height: var(--bottom-nav-height);
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-link {
    color: #6c757d;
    text-decoration: none;
}

.nav-link.active {
    color: #198754;
}

.sector-card,
.schedule-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.schedule-card {
    padding: 1rem;
    cursor: pointer;
}

.switch-button {
    width: 52px;
    height: 28px;
    background: #e9ecef;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
}

.switch-button.active {
    background: #198754;
}

.switch-button::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: 0.3s;
}

.switch-button.active::after {
    left: 27px;
}

.switch-button.disabled {
    opacity: 0.5;
    cursor: default;
}

.punto-row + .punto-row {
    border-top: 1px solid #f1f1f1;
}
