/**
 * iHowz Cookie Consent Banner
 *
 * Fixed bottom banner + full-viewport overlay that blocks page interaction
 * until the visitor Accepts or Rejects cookies.
 */

#ihowz-cookie-consent-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100000;
    pointer-events: auto;
}

#ihowz-cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110000;
    background: #fff;
    color: #23282d;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 4px solid #f56e28;
}

.ihowz-cookie-consent-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 24px 24px;
}

.ihowz-cookie-consent-heading {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.ihowz-cookie-consent-message {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #3c434a;
}

.ihowz-cookie-consent-message a {
    color: #0073aa;
    text-decoration: underline;
}

.ihowz-cookie-consent-essential {
    margin: 0 0 16px;
    font-size: 13px;
    color: #646970;
    font-style: italic;
}

.ihowz-cookie-consent-actions {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.ihowz-cookie-consent-policy-link {
    color: #0073aa;
    text-decoration: underline;
    font-size: 14px;
}

.ihowz-cookie-consent-policy-link:hover,
.ihowz-cookie-consent-policy-link:focus {
    color: #005177;
}

.ihowz-cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ihowz-cookie-consent-btn {
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.ihowz-cookie-consent-btn-accept {
    background: #f56e28;
    border-color: #f56e28;
    color: #fff;
}

.ihowz-cookie-consent-btn-accept:hover,
.ihowz-cookie-consent-btn-accept:focus {
    background: #d8591f;
    border-color: #d8591f;
}

.ihowz-cookie-consent-btn-reject {
    background: #fff;
    border-color: #c3c4c7;
    color: #23282d;
}

.ihowz-cookie-consent-btn-reject:hover,
.ihowz-cookie-consent-btn-reject:focus {
    background: #f6f7f7;
    border-color: #8c8f94;
}

/* Hidden state (set by JS once a decision is made) */
#ihowz-cookie-consent-banner.ihowz-cookie-consent-hidden,
#ihowz-cookie-consent-overlay.ihowz-cookie-consent-hidden {
    display: none;
}

@media (max-width: 600px) {
    .ihowz-cookie-consent-inner {
        padding: 16px 16px 20px;
    }
    .ihowz-cookie-consent-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .ihowz-cookie-consent-policy-link {
        text-align: center;
    }
    .ihowz-cookie-consent-btn {
        flex: 1;
    }
}