.container {
    background: #fff;
    border-radius: 10px;
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.createButton {
    background: linear-gradient(98deg, #12d49c 0%, #0ec9c9 100%);
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    height: 34px;
    box-shadow: 0 6px 14px rgba(18, 212, 156, 0.25);

    &:hover,
    &:focus {
        background: linear-gradient(98deg, #0fcf94 0%, #0cbcbc 100%);
    }
}

.toolbarRight {
    display: flex;
    align-items: center;
    gap: 10px;
}

.select {
    width: 88px;

    :global(.ant-select-selector) {
        border-radius: 6px;
        border-color: #e8e8e8;
        box-shadow: none !important;
        height: 34px;
    }
}

.dropdown {
    :global(.ant-select-item-option-selected) {
        background: #e8fff2 !important;
    }
}

.segmented {
    :global(.ant-segmented-group) {
        gap: 6px;
    }

    :global(.ant-segmented-item) {
        padding: 4px 12px;
        min-width: 38px;
        height: 34px;
        align-items: center;
        justify-content: center;
    }

    :global(.ant-segmented-item-selected) {
        background: #0fcfaf;
        color: #fff;
    }
}

.dayButton {
    width: 38px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
    color: #999;
    background: #fff;

    &:hover,
    &:focus {
        border-color: #0fcfaf;
        color: #0fcfaf;
    }
}

.calendarWrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f2f2f2;
}

.weekHeader {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f9fbfc;
    color: #9fa6ad;
    font-size: 12px;
    border-bottom: 1px solid #f2f2f2;
}

.weekCell {
    text-align: center;
    padding: 8px 0;
    border-right: 1px solid #f2f2f2;

    &:last-child {
        border-right: none;
    }
}

.calendarGrid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(110px, 1fr);
    position: relative;
    background: #fff;
    border-left: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    overflow: hidden;
}

.dayCell {
    border-right: 1px solid #f2f2f2;
    border-top: 1px solid #f2f2f2;
    padding: 10px;
    position: relative;
    box-sizing: border-box;
}

.dayNumber {
    position: absolute;
    top: 8px;
    right: 10px;
    color: #9fa6ad;
    font-size: 12px;
}

.dimmed {
    opacity: 0.45;
}

.eventBlock {
    position: relative;
    margin: 34px 6px 10px;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    pointer-events: none;
    border: 1px solid transparent;
    box-sizing: border-box;
    z-index: 1;
}

.eventInfo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eventDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2bd1ab;
    flex-shrink: 0;
}

.eventTitle {
    color: #6f6f6f;
}

.eventIcon {
    font-size: 22px;
}

.sand {
    background: #fff7e6;
    border-color: #ffe7c2;
    color: #d48806;

    .eventDot {
        background: #f5a623;
    }

    .eventIcon {
        color: #f5a623;
    }
}

.mint {
    background: #e8fff2;
    border-color: #c5f4da;
    color: #12a77c;

    .eventDot {
        background: #12d49c;
    }

    .eventIcon {
        color: #12a77c;
    }
}
