/* Cookie banner + /cookie-consent/ settings page */

.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    padding: 0.95rem 1.2rem;
    background: #08087F;
    color: #fff;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.95rem;
    box-shadow: 0 -10px 28px rgba(8, 8, 127, 0.18);
}

.cookie-bar a {
    color: #B6D5FF;
    font-weight: 600;
    text-decoration: none;
}

.cookie-bar a:hover {
    color: #fff;
    text-decoration: underline;
}

.cookie-bar .btn {
    border-radius: 8px;
    font-weight: 600;
}

.cookie-bar .cookie-consent__accept {
    background: #fff;
    color: #08087F;
    border: 0;
}

.cookie-bar .cookie-consent__accept:hover {
    background: #B6D5FF;
    color: #08087F;
}

.cookie-bar .cookie-consent__decline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.cookie-bar .cookie-consent__decline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.cookie-group-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(8, 8, 127, 0.10);
    padding: 1.45rem 1.4rem 1.3rem;
    margin-bottom: 1.15rem;
}

.cookie-group-card h3 {
    color: #08087F;
    font-weight: 800;
    font-size: 1.12rem;
    margin: 0;
}

.cookie-group-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}

.cookie-group-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.cookie-consent-accepted,
.cookie-consent-declined,
.cookie-required-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cookie-consent-accepted {
    background: #e7f8ee;
    color: #0f7a3d;
}

.cookie-consent-declined {
    background: #fdecea;
    color: #b42318;
}

.cookie-required-badge {
    background: #e8f1ff;
    color: #0C08B5;
}

.cookie-group-card table {
    width: 100%;
    margin-top: 0.85rem;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.cookie-group-card th,
.cookie-group-card td {
    text-align: left;
    vertical-align: top;
    padding: 0.45rem 0.55rem 0.45rem 0;
    border-top: 1px solid #d9e4f5;
    color: #374151;
}

.cookie-group-card th {
    color: #08087F;
    font-weight: 700;
    width: 34%;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1.5rem;
}

@media (max-width: 576px) {
    .cookie-group-title {
        align-items: flex-start;
        flex-direction: column;
    }
}
