.ac-calendar-breadcrumb {
    border-bottom: 5px solid #5f26b9;
}

.ac-calendar-area {
    padding: 88px 0 96px;
    background:
        radial-gradient(circle at 15% 20%, rgba(95, 38, 185, 0.12), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(27, 124, 255, 0.11), transparent 35%),
        #f6f4ff;
}

.ac-calendar-card,
.ac-note-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(95, 38, 185, 0.14);
    border-radius: 22px;
    box-shadow: 0 18px 46px rgba(45, 30, 89, 0.14);
    backdrop-filter: blur(7px);
}

.ac-calendar-card {
    padding: 30px;
}

.ac-note-card {
    margin-top: 28px;
    padding: 25px;
}

.ac-calendar-head {
    margin-bottom: 22px;
}

.ac-calendar-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
    color: #180f38;
    letter-spacing: -0.4px;
}

.ac-calendar-subtitle {
    margin: 10px 0 0;
    color: #5f5888;
}

.ac-calendar-filter-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.ac-calendar-filter {
    background: #fff;
    border: 1px solid #e5def8;
    border-radius: 14px;
    padding: 12px 14px;
}

.ac-calendar-filter label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #514b70;
    margin-bottom: 6px;
}

.ac-calendar-filter input {
    width: 100%;
    border: 1px solid #d8d3ed;
    border-radius: 10px;
    padding: 10px 11px;
    font-size: 14px;
    color: #1f1842;
    background: #fcfbff;
}

.ac-calendar-filter input:focus {
    outline: none;
    border-color: #5f26b9;
    box-shadow: 0 0 0 3px rgba(95, 38, 185, 0.16);
}

.ac-calendar-reset-btn {
    align-self: center;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #5f26b9, #2f6df6);
    color: #fff;
    font-weight: 600;
    padding: 0;
    font-size: 16px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ac-calendar-reset-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(68, 42, 141, 0.32);
}

.ac-calendar-grid-wrap {
    border: 1px solid #e6def9;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.ac-calendar-grid-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #fbf9ff, #f4f0ff);
    border-bottom: 1px solid #ece8f8;
    padding: 13px 15px;
}

.ac-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d9d3ef;
    background: #fff;
    color: #3f3569;
    transition: all .2s ease;
}

.ac-nav-btn:hover {
    color: #fff;
    background: #5f26b9;
    border-color: #5f26b9;
}

.ac-calendar-month-title {
    margin: 0;
    font-size: 19px;
    color: #24184c;
    font-weight: 700;
}

.ac-weekdays,
.ac-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.ac-weekdays span {
    padding: 11px 8px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #5a5381;
    border-bottom: 1px solid #ece8f8;
}

.ac-day-cell {
    border-right: 1px solid #f2eefc;
    border-bottom: 1px solid #f2eefc;
    min-height: 76px;
    padding: 9px;
    text-align: right;
    font-size: 14px;
    color: #2f2854;
    position: relative;
    cursor: pointer;
    background: #fff;
    transition: background .2s ease, transform .2s ease;
}

.ac-day-cell:nth-child(7n) {
    border-right: none;
}

.ac-day-cell:hover {
    background: #f7f2ff;
    transform: translateY(-1px);
}

.ac-day-cell.is-outside {
    color: #b6b1cb;
    background: #fbfaff;
    cursor: default;
}

.ac-day-cell.is-today {
    font-weight: 700;
    color: #4f1ea0;
}

.ac-day-cell.is-selected {
    color: #2a1654;
    background: linear-gradient(180deg, #efe6ff, #e8dcff);
}

.ac-day-cell.has-event::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1b7cff;
    box-shadow: 0 0 0 3px rgba(27, 124, 255, 0.2);
    position: absolute;
    left: 11px;
    bottom: 10px;
}

.ac-note-head h5 {
    margin: 0;
    font-size: 24px;
    color: #1f1842;
}

.ac-note-head p {
    margin: 7px 0 16px;
    color: #686184;
}

.ac-note-item {
    border: 1px solid #ebe4fb;
    border-left: 4px solid #1b7cff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(40, 30, 74, 0.06);
}

.ac-note-item h6 {
    margin: 0 0 6px;
    color: #251d49;
    font-size: 17px;
}

.ac-note-item p {
    margin: 0 0 8px;
    color: #5b557b;
}

.ac-note-date {
    font-size: 13px;
    color: #6b6590;
}

.ac-note-empty {
    border: 1px dashed #d6d1ea;
    border-radius: 14px;
    padding: 20px;
    color: #686286;
    text-align: center;
    background: #fcfbff;
}

@media (max-width: 991px) {
    .ac-calendar-area {
        padding: 70px 0 80px;
    }

    .ac-calendar-card,
    .ac-note-card {
        padding: 20px;
    }

    .ac-calendar-filter-wrap {
        grid-template-columns: 1fr;
    }
}
