/* ISECURION Cookie Consent — styling */

#cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: #17202a;
    color: #f2f2f2;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.35s ease;
    font-family: 'Raleway', Arial, sans-serif;
}

#cookie-consent-banner.ccb-visible {
    transform: translateY(0);
}

.ccb-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ccb-text {
    flex: 1 1 420px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #d5dbe0;
}

.ccb-text a {
    color: #5dade2;
    text-decoration: underline;
}

.ccb-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ccb-btn {
    border: none;
    border-radius: 5px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.ccb-btn:hover {
    opacity: 0.88;
}

.ccb-btn-accept {
    background: #3498db;
    color: #fff;
}

.ccb-btn-reject {
    background: transparent;
    color: #d5dbe0;
    border: 1px solid #4a5a68;
}

/* Normal case: #cookie-settings-link is inserted as a plain <a> next to
   your existing Privacy Policy link in the footer, and inherits that
   link's own style/class attribute — so no styling is needed here for
   it to look consistent with the rest of your footer.

   Fallback case only: used on the rare page where no footer link
   containing "privacy-policy" could be found, so the control still
   exists rather than silently disappearing. */
.cookie-settings-fallback {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 99998;
    background: #ffffff;
    color: #3498db;
    border: 1px solid #d8e4ee;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Raleway', Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.cookie-settings-fallback:hover {
    background: #f4f9fd;
}

@media (max-width: 600px) {
    .ccb-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .ccb-actions {
        justify-content: flex-start;
    }

    #cookie-settings-link {
        left: 10px;
        bottom: 10px;
        padding: 7px 12px;
        font-size: 11px;
    }
}
