/**
 * Cookie Consent Banner
 * Design: minimal dark bar, matching MONLIS brand
 */

.monlis-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #232323;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
    animation: monlisConsentSlideUp 0.4s ease-out;
}

@keyframes monlisConsentSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.monlis-consent__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.monlis-consent__title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    letter-spacing: 0.02em;
}

.monlis-consent__text {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.85;
}

.monlis-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.monlis-consent__btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.monlis-consent__btn--accept {
    background: #ffcfd9;
    color: #232323;
}

.monlis-consent__btn--accept:hover {
    background: #ffb8c6;
}

.monlis-consent__btn--reject {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.monlis-consent__btn--reject:hover {
    border-color: #fff;
}

.monlis-consent__btn--settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.monlis-consent__btn--settings:hover {
    color: #fff;
}

.monlis-consent__btn--save {
    background: #ffcfd9;
    color: #232323;
}

.monlis-consent__btn--save:hover {
    background: #ffb8c6;
}

/* Settings panel */
.monlis-consent__settings {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.monlis-consent__settings-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 48px;
}

.monlis-consent__settings-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 14px;
}

.monlis-consent__category {
    margin-bottom: 10px;
}

.monlis-consent__category label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
}

.monlis-consent__category input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #ffcfd9;
    cursor: pointer;
}

.monlis-consent__category input[disabled] {
    opacity: 0.6;
    cursor: default;
}

.monlis-consent__settings-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

/* Mobile */
@media (max-width: 768px) {
    .monlis-consent__inner {
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
    }

    .monlis-consent__actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .monlis-consent__btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .monlis-consent__btn--settings {
        order: 3;
    }

    .monlis-consent__settings-inner {
        padding: 16px 24px;
    }
}

@keyframes monlisConsentSlideDown {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}
