.cookie-consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #d9e3f4;
    border-radius: 0.85rem;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.2);
    padding: 0.9rem;
    max-width: 760px;
    margin: 0 auto;
}

.cookie-consent-title {
    font-size: 0.99rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.24rem;
}

.cookie-consent-text {
    margin-bottom: 0.7rem;
    color: #4b5563;
    font-size: 0.91rem;
    line-height: 1.45;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cookie-consent-links {
    margin-top: 0.55rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.cookie-settings-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1070;
    border: 1px solid #d9e3f4;
    border-radius: 999px;
    padding: 0.45rem 0.78rem;
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    font-size: 0.82rem;
    line-height: 1;
}

.cookie-settings-btn:hover {
    background: #f8fbff;
}

.cookie-consent-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1088;
    background: rgba(15, 23, 42, 0.42);
}

.cookie-consent-panel {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1089;
    width: min(640px, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    overflow: auto;
    background: #ffffff;
    border: 1px solid #d9e3f4;
    border-radius: 0.9rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28);
    padding: 1rem;
}

.cookie-consent-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.cookie-consent-panel-title {
    margin: 0;
    font-size: 1.05rem;
    color: #1f2937;
}

.cookie-consent-panel-desc {
    margin-bottom: 0.7rem;
    color: #4b5563;
    font-size: 0.9rem;
}

.cookie-consent-options {
    display: grid;
    gap: 0.5rem;
}

.cookie-consent-option {
    border: 1px solid #e5e7eb;
    border-radius: 0.72rem;
    padding: 0.68rem 0.72rem;
    background: #fafbfe;
}

.cookie-consent-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.62rem;
    margin: 0;
}

.cookie-consent-option .cookie-option-title {
    font-size: 0.91rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.cookie-consent-option .cookie-option-desc {
    color: #4b5563;
    font-size: 0.84rem;
}

.cookie-consent-panel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.48rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .cookie-consent-banner {
        left: 0.72rem;
        right: 0.72rem;
        bottom: 0.72rem;
        padding: 0.8rem;
    }

    .cookie-consent-panel {
        width: calc(100% - 1.25rem);
        max-height: calc(100vh - 1.25rem);
        padding: 0.85rem;
    }

    .cookie-settings-btn {
        right: 0.75rem;
        bottom: 0.75rem;
        font-size: 0.8rem;
    }
}
