* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Inter, Arial, sans-serif;
}

body {
    background: #fafafa;
}

.page {
    display: flex;
    width: 100%;
    min-height: 100vh;
    border: 1px solid #d7e2ee;
}

/* ---- SIDEBAR ---- */

.sidebar {
    width: 295px;
    flex-shrink: 0;
    border-right: 1px solid #d7e2ee;
    padding: 0 16px 0 16px;
    background: #ffffff;
}

.sidebar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8px 12px 8px;
}

.logo {
    width: 132px;
    height: 32px;
    object-fit: contain;
}

.collapse-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.btn-create-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid #567b9a;
    border-radius: 30px;
    color: #062642;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.menu {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #062642;
    font-size: 16px;
    font-weight: 600;
}

.menu-item img {
    width: 18px;
    height: 18px;
}

.menu-item.active {
    background: #f3f8ff;
    color: #006bff;
}

/* ---- MAIN ---- */

.main {
    flex: 1;
    padding: 28px 26px 40px 26px;
    background: #ffffff;
}

/* ---- HEADER ---- */

.top-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 20px;
}

h1 {
    font-size: 34px;
    font-weight: 600;
    color: #0a2540;
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.header-icons-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-letter {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e7edf6;
    color: #0a2540;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-divider {
    height: 1px;
    background: #d7e2ee;
    margin: 0 -26px 20px -26px;
}

/* ---- TABS ---- */

.tabs {
    display: flex;
    gap: 40px;
    margin-top: 0;
    margin-bottom: 20px;
}

.tab {
    text-decoration: none;
    color: #476788;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 8px;
}

.tab.active {
    color: #0a2540;
    border-bottom: 2px solid #3e9cff;
}

/* ---- SCHEDULE CARD ---- */

.schedule-card {
    border: 1px solid #d7e2ee;
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #d7e2ee;
}

.card-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-label {
    font-size: 11px;
    font-weight: 400;
    color: #476788;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #006bff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.active-on {
    font-size: 12px;
    color: #476788;
    display: flex;
    align-items: center;
    gap: 4px;
}

.active-on-link {
    color: #006bff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
}

.card-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #d7e2ee;
    border-radius: 6px;
    background: #ffffff;
    color: #0a2540;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.view-btn.active {
    background: #f3f8ff;
    border-color: #a6bbd1;
}

.more-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

/* ---- CARD BODY ---- */

.card-body {
    display: flex;
    gap: 0;
}

/* ---- WEEKLY HOURS ---- */

.weekly-hours {
    flex: 1;
    padding: 24px 20px;
    border-right: 1px solid #d7e2ee;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #0a2540;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 12px;
    color: #476788;
    margin-bottom: 16px;
}

/* ---- DAY ROWS ---- */

.day-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.day-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #006bff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    flex-shrink: 0;
}

.day-circle.unavailable {
    background: transparent;
    border: 2px solid #002642;
    color: #0a2540;
}

.unavailable-text {
    font-size: 14px;
    color: #476788;
}

.time {
    font-size: 14px;
    color: #0a2540;
    font-weight: 400;
    min-width: 42px;
    text-align: center;
}

.dash {
    font-size: 14px;
    color: #476788;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- DATE SPECIFIC ---- */

.date-specific {
    width: 320px;
    flex-shrink: 0;
    padding: 24px 20px;
}

/* ---- SIDEBAR DROPDOWN ---- */

.sidebar-dropdown {
    display: none;
    position: absolute;
    top: 174px;
    left: 16px;
    width: 263px;
    background: #ffffff;
    border: 1px solid #d7e2ee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.12);
    z-index: 100;
    padding: 16px 0;
    max-height: 500px;
    overflow-y: auto;
}

.sidebar-dropdown.visible {
    display: block;
}

/* ---- SIDEBAR MODAL ---- */

.sidebar-modal {
    display: none;
    position: absolute;
    top: 174px;
    left: 16px;
    width: 263px;
    background: #ffffff;
    border: 1px solid #d7e2ee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.12);
    z-index: 100;
    padding: 16px 0;
    max-height: 500px;
    overflow-y: auto;
}

.sidebar-modal.visible {
    display: block;
}

.sm-title {
    font-size: 12px;
    font-weight: 700;
    color: #0a2540;
    padding: 0 16px 10px 16px;
}

.sm-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 16px;
    cursor: pointer;
}

.sm-item:hover {
    background: #f3f8ff;
}

.sm-name {
    font-size: 13px;
    font-weight: 600;
    color: #006bff;
}

.sm-desc {
    font-size: 12px;
    color: #0a2540;
}

.sm-hint {
    font-size: 11px;
    color: #476788;
}

.sm-divider {
    height: 1px;
    background: #d7e2ee;
    margin: 6px 0;
}

.sm-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #0a2540;
}

.sm-accordion-header:hover {
    background: #f3f8ff;
}

.sm-accordion-header svg {
    transition: transform 0.2s ease;
}

.sm-accordion-body {
    display: none;
}

.sm-accordion.open .sm-accordion-body {
    display: block;
}

.sm-accordion.open .sm-accordion-header svg {
    transform: rotate(180deg);
}