* {
    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;
    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;
}

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

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

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

.info-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #0a2540;
    font-size: 11px;
    font-weight: 700;
    color: #0a2540;
    vertical-align: middle;
    margin-left: 6px;
    font-style: italic;
    cursor: pointer;
}

.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;
}

.btn-create-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #006bff;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 56px;
    cursor: pointer;
}

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

.tabs {
    display: flex;
    gap: 40px;
    margin-top: 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;
}

/* ---- SEARCH ---- */

.search-bar {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 425px;
    height: 50px;
    margin-top: 19px;
    padding: 0 20px;
    border: 1px solid #d7e2ee;
    border-radius: 8px;
    background: #fafafa;
}

.search-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: #476788;
    background: transparent;
}

/* ---- USER ROW ---- */

.user-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 51px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.18px;
    color: #0a2540;
}

.user-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f3f8ff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-landing {
    margin-left: auto;
    text-decoration: none;
    color: #006bff;
    font-size: 14px;
    font-weight: 600;
}

.three-dots-icon {
    cursor: pointer;
}

/* ---- CONTENT AREA ---- */

.content-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
}

/* ---- TEXT SIDE ---- */

.text-side {
    max-width: 400px;
}

.text-side h2 {
    font-size: 21px;
    font-weight: 600;
    color: #0a2540;
    line-height: 1.1;
}

.text-side p {
    margin-top: 12px;
    font-size: 14px;
    color: #4a6178;
    line-height: 1.5;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    text-decoration: none;
    color: #006bff;
    font-size: 16px;
    font-weight: 400;
}

.btn-new-event {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 20px;
    background: #006bff;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 56px;
    cursor: pointer;
}

/* ---- ILLUSTRATION ---- */

.illustration {
    flex-shrink: 0;
    width: 430px;
    margin-left: -30px;
}

.illustration-img {
    width: 100%;
    height: auto;
}

/* ---- 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);
}

/* ---- TOP DROPDOWN ---- */

.top-dropdown {
    display: none;
    position: fixed;
    top: 164px;
    right: 26px;
    width: 300px;
    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;
}

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

.create-arrow {
    transition: transform 0.2s ease;
    transform: rotate(180deg);
}

.btn-create-blue.open .create-arrow {
    transform: rotate(0deg);
}

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

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

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

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

.td-desc {
    font-size: 13px;
    color: #0a2540;
}

.td-hint {
    font-size: 12px;
    color: #476788;
}

.td-divider {
    height: 1px;
    background: #d7e2ee;
    margin: 8px 0;
}

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

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

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

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

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

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