#cookie-consent-banner,
#cookie-consent-settings {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10050;
    background: #111;
    color: #f5f5f5;
    border-top: 3px solid #ffc107;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
    padding: 1.25rem 1.5rem;
}

#cookie-consent-banner[hidden],
#cookie-consent-settings[hidden] {
    display: none !important;
}

.cookie-consent__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.cookie-consent__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffc107;
}

.cookie-consent__text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #ccc;
}

.cookie-consent__text a {
    color: #ffc107;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-consent__btn {
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cookie-consent__btn--primary {
    background: #ffc107;
    color: #000;
}

.cookie-consent__btn--primary:hover {
    background: #e0a800;
}

.cookie-consent__btn--secondary {
    background: transparent;
    color: #ffc107;
    border: 1px solid #ffc107;
}

.cookie-consent__btn--secondary:hover {
    background: rgba(255, 193, 7, 0.1);
}

.cookie-consent__btn--ghost {
    background: #333;
    color: #fff;
}

.cookie-consent__btn--ghost:hover {
    background: #444;
}

.cookie-consent__toggle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #333;
}

.cookie-consent__toggle:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.cookie-consent__toggle label {
    flex: 1;
    cursor: pointer;
    margin: 0;
}

.cookie-consent__toggle strong {
    display: block;
    color: #fff;
    margin-bottom: 0.25rem;
}

.cookie-consent__toggle small {
    color: #999;
    font-size: 0.8rem;
}

.cookie-consent__toggle input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #ffc107;
}

.cookie-consent__toggle input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

body.cookie-consent-open {
    padding-bottom: 0;
}

.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
}

.footer-legal-links a,
.footer-legal-links button.footer-legal-link {
    color: #999;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
}

.footer-legal-links a:hover,
.footer-legal-links button.footer-legal-link:hover {
    color: #ffc107;
    text-decoration: underline;
}

.contact-recaptcha-notice {
    font-size: 0.85rem;
    color: #856404;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.contact-recaptcha-notice a {
    color: #856404;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .cookie-consent__actions {
        flex-direction: column;
    }

    .cookie-consent__btn {
        width: 100%;
    }
}
