/* Kaviaari Cookie Consent – Banner styles */

.kcc-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    width: 300px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: kcc-slide-in 0.3s ease;
    border: 1px solid #f0ece4;
}

.kcc-banner[hidden] { display: none !important; }

@keyframes kcc-slide-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.kcc-banner__icon { font-size: 2rem; line-height: 1; }

.kcc-banner__title {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0 0 4px;
    color: #1a1a1a;
}

.kcc-banner__text {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.kcc-banner__link { color: #b07d3a; text-decoration: underline; }

.kcc-banner__actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.kcc-btn {
    flex: 1;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s, transform 0.1s;
    font-family: inherit;
}
.kcc-btn:hover  { opacity: 0.88; }
.kcc-btn:active { transform: scale(0.97); }
.kcc-btn--accept  { background: #3a7d44; color: #fff; }
.kcc-btn--decline { background: #f3f0ea; color: #444; }

/* Reopen button */
.kcc-reopen {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 99998;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e0d8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.15s;
    padding: 0;
    line-height: 1;
}
.kcc-reopen:hover   { transform: scale(1.1); }
.kcc-reopen[hidden] { display: none !important; }

@media (max-width: 400px) {
    .kcc-banner {
        bottom: 0; right: 0; left: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
    }
}
