/*
 * Clinictell — Cookie Consent Banner Styles
 * Extracted from functions.php healthblog_cookie_consent_banner()
 * Loaded via wp_enqueue_style() — never inline.
 */

.hb-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #1a1a1a;
    color: #fff;
    padding: 16px 24px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .3);
}

.hb-cookie-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hb-cookie-text {
    margin: 0;
    flex: 1;
    font-size: .9rem;
    line-height: 1.5;
}

.hb-cookie-text a {
    color: #81C784;
}

.hb-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.hb-cookie-btn {
    padding: 9px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: .875rem;
    font-weight: 600;
    font-family: inherit;
    transition: background .15s ease;
}

.hb-cookie-btn--accept {
    background: #1976D2;
    color: #fff;
}

.hb-cookie-btn--accept:hover {
    background: #0D47A1;
}

.hb-cookie-btn--decline {
    background: transparent;
    color: #ccc;
    border: 1px solid #555;
}

.hb-cookie-btn--decline:hover {
    border-color: #ccc;
    color: #fff;
}

/* Focus states — keyboard accessibility */
.hb-cookie-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .hb-cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hb-cookie-actions {
        width: 100%;
    }

    .hb-cookie-btn {
        flex: 1;
        text-align: center;
    }
}
