.fsp-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.fsp-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.fsp-event {
    color: rgba(146, 184, 234, 1);
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 10px;
}

.fsp-calendar-day .fsp-event:last-of-type {
    margin-bottom: 0;
}


.fsp-weekdays , .fsp-small-weekdays{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    padding-block: 5px;
}

.fsp-calendar-container {
    background-color: rgb(11,33,61);
    color: rgba(240, 249, 253, 1);
    border-radius: 20px;
    position: relative;
}

.fsp-calendar-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(270.00deg, rgba(0, 167, 157, 1),rgba(228, 238, 113, 1) 50%,rgba(242, 56, 254, 1) 100%);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.fsp-calendar-header {
    display: none;
}

.fsp-calendar-day, .fsp-weekday {
    background-color:  rgba(17, 43, 77, 1);
}

.fsp-weekday {
    padding-block: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: rgba(77, 106, 143, 1);
}

.fsp-calendar-day {
    padding: 24px;
    border-radius: 10px;
    min-height: 265px;
}

.fsp-day-number {
    color: rgba(138, 179, 233, 0.5);
    font-size: 40px;
    font-weight: 300;
    line-height: 55px;
    margin-bottom: 32px;
}

.fsp-filter-area {
    padding-block: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fsp-left-filter {
    display: flex;
    align-items: center;
    column-gap: 40px;
}

.fsp-left-current-date {
    font-size: 30px;
    font-weight: 500;
    line-height: 41px;
    color: #ffffff;
    position: relative;
}

.fsp-left-date-picker {
    position: relative;
}

.fsp-left-current-date .fsp-arrow, .fsp-calendar-filter-arrow {
    color: rgba(0, 167, 157, 1);
    font-size: 20px;
    transition: 0.3s all ease-in-out;
}

.fsp-left-categories, .fsp-monthly-daily-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    border-radius: 69px;
    background-color: rgba(17, 43, 77, 0.5);
    transition: 0.3s all ease-in-out;
    border: 2px solid rgba(255,255,255,0);
}

.fsp-monthly-daily-box {
    padding-block: 10px;
}

.fsp-right-filter {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.fsp-monthly-daily-text, .fsp-category-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 34px;
    color: rgba(146, 184, 234, 1);
    text-transform: uppercase;
    transition: 0.3s all ease-in-out;
}

.fsp-monthly-daily-box:hover .fsp-monthly-daily-text, .fsp-monthly-daily-box.active .fsp-monthly-daily-text {
    color: #ffffff;
}

.fsp-monthly-daily-box:hover,  .fsp-monthly-daily-box.active {
    border-color: rgba(0, 167, 157, 1);
}

.fsp-custom-date-picker {
    padding: 0 0 40px;
    border-radius: 20px;
    box-shadow: 0px 61px 109px 0px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 20px);
    opacity: 0;
    transition: 0.3s all ease-in-out;
    visibility: hidden;
}

.fsp-custom-date-picker.show {
    opacity: 1;
    z-index: 1;
    visibility: visible;
}

.fsp-left-current-date.show .fsp-arrow i {
    rotate: 180deg;
}

.fsp-custom-date-picker:before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 12px solid #ffffff;
    border-left: 12px solid rgba(255,255,255, 0);
    border-right: 12px solid rgba(255,255,255, 0);
}

.fsp-inner-picker {
    display: flex;
    align-items: center;
    column-gap: 20px;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid  rgba(17, 43, 77, .1);
    margin-bottom: 30px;
}

.fsp-apply-picker {
    padding: 5px 40px;
    border: 2px solid rgba(17, 43, 77, 0.2);
    border-radius: 99px;
    font-size: 14px;
    font-weight: 700;
    line-height: 34px;
    text-transform: uppercase;
    color: rgba(54, 64, 101, 1);
    text-align: center;
    display: inline-block;
    width: 100%;
    transition: 0.3s all ease-in-out;
}

.fsp-apply-picker:hover {
    background-color: rgba(0, 167, 157, 1);
    color: #ffffff;
}

.fsp-picker-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 69px;
    box-shadow: 0px 9px 15px 0px rgba(0, 0, 0, 0.05);
    background-color: rgba(255,255,255, 1);
    transition: 0.3s all ease-in-out;
}

.fsp-picker-arrow span {
    -webkit-mask: url('/wp-content/uploads/2025/12/arrow-left.svg');
    width: 22px;
    height: 15px;
    background-color: rgba(0, 167, 157, 1);
    transition: 0.3s all ease-in-out;
}

.fsp-picker-arrow.right span {
    -webkit-mask: url('/wp-content/uploads/2026/01/arrow-right.svg');
}

.fsp-picker-arrow:hover span {
    background-color: #fff;
}

.fsp-picker-arrow:hover {
    background-color: rgba(0, 167, 157, 1);
}

#small-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    padding-inline: 40px;
}

.fsp-small-day-number {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(17, 43, 77, 1);
    text-align: center;
    width: 50px;
    height: 50px;
    border-radius: 555px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all ease-in-out;
}

.fsp-small-day-number:hover, .fsp-small-calendar-day.is-active .fsp-small-day-number {
    background-color: rgba(0, 167, 157, 1);
    color: #ffffff;
}

.fsp-apply-wrapper {
    padding-inline: 40px;
    margin-top: 30px;
}

.fsp-small-weekdays {
    padding-inline: 40px;
    margin-bottom: 20px;
}

.fsp-small-weekday {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(77, 106, 143, 1);
    text-align: center;
}

#fsp-year, #fsp-month {
    font-size: 24px;
    font-weight: 600;
    line-height: 33px;
    color: rgba(17, 43, 77, 1);
}

.fsp-event-categories {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 30px;
}

#category-filter-container {
    display: none;
}

#category-filter-container.show {
    display: block;
}

.active .fsp-calendar-filter-arrow {
    rotate: 180deg;
}

.fsp-category {
    display: flex;
    align-items: center;
    width: 230px;
    column-gap: 10px;
    font-size: 16px;
    font-weight: 500;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fsp-category input {
    display: none;
}

.checkmark {
    width: 15px;
    height: 15px;
    border: 1px solid rgba(77, 106, 143, 1);
    border-radius: 3px;
    position: relative;
    transition: background 0.2s ease;
}

.fsp-category input:checked + .checkmark {
    background-color: rgba(0, 167, 157, 1);
}

/* crna kvačica */
.fsp-category input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fsp-category-buttons {
    display: flex;
    justify-content: flex-end;
    column-gap: 10px;
    align-items: center;
    margin-block: 60px;
}

.fsp-category-buttons span {
    padding: 20px 30px;
    border-radius: 69px;
    background-color: rgba(17, 43, 77, 0.5);
    transition: 0.3s all ease-in-out;
    border: 2px solid rgba(255,255,255,0);
    font-size: 14px;
    font-weight: 700;
    line-height: 10px;
    color: rgba(146, 184, 234, 1);
    text-transform: uppercase;
    min-height: 50px;
}


.fsp-category-buttons span:hover {
    border-color: rgba(0, 167, 157, 1);
    color: #ffffff;
}

#fsp-daily-view-wrapper .fsp-daily-event {
    display: flex;
    align-items: stretch;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 15px 15px 0px rgba(17, 43, 77, 0.05);
    padding: 10px;
    width: calc(33.33% - 7px);
}

.fsp-daily-view {
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 10px;
}

.fsp-daily-view h5 {
    color: rgba(17, 43, 77, 1);
}

.fsp-daily-right {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    height: auto;
}

.fsp-daily-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
	flex-wrap: wrap;
}

.fsp-daily-left {
    width: 200px;
}

.fsp-daily-left img {
    border-radius: 5px;
}

.fsp-daily-right {
    width: calc(100% - 200px);
    max-width: 100%;
}

.fsp-location  {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin-top: 20px;
}

.fsp-location p {
    color: rgba(17, 43, 77, .4);
}

.fsp-daily-bottom p, .fsp-daily-bottom a {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: rgba(17, 43, 77, 1);
}

#fsp-daily-view-wrapper {
    padding: 10px;
}

.fsp-details {
    display: flex;
    align-items: center;
    column-gap: 10px;
}


.fsp-details .circle-arrow {
    -webkit-mask: url('/wp-content/uploads/2025/12/card-arrow.svg');
    -webkit-mask-repeat: no-repeat;
    width: 22px;
    height: 22px;
    background-color: rgba(17, 43, 77, 1);
    display: inline-block;
    transition: 0.3s all ease-in-out;
}

.fsp-details:hover a {
    color: rgba(0, 167, 157, 1);
}

.fsp-details:hover span {
    background-color: rgba(0, 167, 157, 1);
}

.fsp-small-weekdays-mobile {
    display: none;
}

@media(max-width: 991px) {
    .fsp-right-filter {
        display: none;
    }

    .fsp-left-filter {
        flex-direction: column;
        width: 100%;
    }


    .fsp-filter-area {
        justify-content: center;
        padding-block: 0;
    }

    .fsp-left-date-picker {
        padding: 30px 0 20px;
        width: 100%;
        display: flex;
        justify-content: center;
        border-bottom: 1px solid rgba(146, 184, 234, 0.1);
    }

    .fsp-left-categories {
        padding: 20px 0;
        background: unset;
        width: 100%;
        justify-content: center;
    }

    .fsp-calendar-filter-arrow {
        display: none;
    }

    #fsp-weekdays {
        display: none;
    }

    .fsp-left-current-date {
        width: 100%;
        text-align: center;
    }

    .fsp-custom-date-picker {
        left: 0;
        width: 100%;
    }

    .fsp-custom-date-picker #small-calendar-grid {
        display: none;
    }

    #small-calendar-grid-mobile {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 14px;
        padding-inline: 0;
        width: 100%;
    }

    .fsp-small-day-number {
        color: #ffffff;
        width: auto;
    }



    .fsp-small-calendar-day.is-active {
        padding: 10px;
        border-radius: 116px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(0, 167, 157, 1);
    }

    #fsp-daily-view {
        flex-direction: column;
        row-gap: 10px;
    }

    #fsp-daily-view-wrapper .fsp-daily-event {
        width: 100%;
    }

    .fsp-small-weekdays-mobile {
        display: flex;
    }

    .fsp-category-buttons {
        justify-content: center;
    }

    .fsp-calendar-container:before {
        border-radius: 0;
    }
}