.site-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    z-index: 99999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.site-notice.site-notice--visible {
    display: block;
}

.site-notice.site-notice-full-width .site-notice-body {
    margin: 0 auto;
}

.site-notice.site-notice-minimal {
    padding: 0;
    right: unset;
    border-radius: 5px;
    bottom: 1em;
    flex-direction: column;
    left: 1em;
}

.site-notice.site-notice-minimal .site-notice-body {
    /*margin: 0 16px 16px;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 400px !important;
}

.site-notice.site-notice-minimal .site-notice__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 4px;
}

.site-notice.site-notice-minimal .site-notice__message {
    font-size: 13px;
    line-height: 1.5;
    padding: 12px 12px 0;
}

.site-notice.site-notice-minimal .site-notice__actions {
    margin: 0;
    padding: 8px 12px 12px;
    justify-content: flex-end;
    gap: 8px;
}

.site-notice.site-notice-minimal .site-notice__actions button {
    min-width: auto;
    padding: 6px 12px;
    font-size: 12px;
}

.site-notice.site-notice-minimal .site-notice__categories {
    padding: 12px;
    margin-top: 0;
}

.site-notice.site-notice-minimal .site-notice__categories .cookie-category {
    padding: 8px;
    margin-bottom: 8px;
}

.site-notice.site-notice-minimal .site-notice__categories .cookie-category:last-child {
    margin-bottom: 0;
}

.site-notice.site-notice-minimal .site-notice__categories .cookie-category__description {
    font-size: 12px;
}

.site-notice.site-notice-minimal .site-notice__categories .cookie-consent__save {
    padding: 8px 0 0;
    margin-top: 8px;
}

.site-notice.site-notice-minimal .site-notice__categories .cookie-consent__save .cookie-consent__save-button {
    font-size: 12px;
    padding: 6px 12px;
}

.site-notice .site-notice-body {
    padding: 8px 15px;
    border-radius: 4px;
}

.site-notice .site-notice__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-notice .site-notice__message {
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}

.site-notice .site-notice__message a {
    color: inherit;
    text-decoration: underline;
}

.site-notice .site-notice__message a:hover {
    text-decoration: none;
}

.site-notice .site-notice__categories {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-notice .site-notice__categories .cookie-category {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid rgb(159 159 159 / 10%);
    border-radius: 4px;
}

.site-notice .site-notice__categories .cookie-category__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.site-notice .site-notice__categories .cookie-category__label input[type="checkbox"] {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: initial;
    height: initial;
    width: auto;
     -webkit-appearance:auto !important;
    -moz-appearance:auto !important;
    appearance:auto !important;
}

.site-notice .site-notice__categories .cookie-category__label input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.site-notice .site-notice__categories .cookie-category__name {
    font-weight: bold;
}

.site-notice .site-notice__categories .cookie-category__description {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.8;
}

.site-notice .site-notice__categories .cookie-consent__save {
    margin-top: 1rem;
    padding: .75rem;
}

[dir="rtl"] .site-notice .site-notice__categories .cookie-consent__save {
    text-align: left;
}

.site-notice .site-notice__categories .cookie-consent__save .cookie-consent__save-button {
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    min-width: 100px;
    text-align: center;
    font-weight: bold;
}

.site-notice .site-notice__categories .cookie-consent__save .cookie-consent__save-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-notice .site-notice__categories .cookie-consent__save .cookie-consent__save-button:active {
    transform: translateY(0);
}

.site-notice .site-notice__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
}

[dir="rtl"] .site-notice .site-notice__actions {
    margin-left: 0;
    margin-right: auto;
}

.site-notice .site-notice__actions button {
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    min-width: 100px;
    text-align: center;
}

.site-notice .site-notice__actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-notice .site-notice__actions button:active {
    transform: translateY(0);
}

.site-notice .cookie-consent__actions .site-notice__reject {
    font-weight: 500;
    opacity: 0.95;
}

.site-notice .cookie-consent__actions .site-notice__reject:hover {
    opacity: 1;
}

.site-notice .cookie-consent__actions .site-notice__customize {
    font-weight: 500;
    opacity: 0.95;
}

.site-notice .cookie-consent__actions .site-notice__customize:hover {
    opacity: 1;
}

.site-notice .cookie-consent__actions .site-notice__customize.active {
    opacity: 0.8;
    transform: translateY(0);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-notice .cookie-consent__actions .site-notice__agree {
    font-weight: bold;
    position: relative;
}

.site-notice .cookie-consent__actions .site-notice__agree:before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

@media (max-width: 767px) {
    .site-notice .site-notice__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    [dir="rtl"] .site-notice .site-notice__inner {
        flex-direction: column;
    }

    .site-notice .site-notice__actions {
        justify-content: center;
        margin-left: 0;
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    [dir="rtl"] .site-notice .site-notice__actions {
        margin-right: 0;
    }

    .site-notice .site-notice__actions button {
        flex: none;
        min-width: 70px;
        max-width: 100px;
        padding: 6px 10px;
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-radius: 3px;
    }
}
