/* ==========================================================
   COOKIE CONSENT — GDPR / AdSense-style banner
   Part of the CiaoCity modular stylesheet system.
   Own file on purpose, loaded on every page alongside cookie-consent.js.
   ========================================================== */

.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    padding: 16px;
    transform: translateY(120%);
    transition: transform 0.35s ease;
}

.cookie-consent-banner.active {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
}

.cookie-consent-text {
    flex: 1;
    min-width: 240px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 992px) {
    /* Banner mobilde alt alta dizildiği için (bkz. mobile.css
       .cookie-consent-inner) sabit min-width burada gereksiz ve
       bazı tarayıcılarda satırın taşmasına yol açıyordu. */
    .cookie-consent-text {
        min-width: 0;
    }
    .cookie-consent-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.cookie-consent-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(0,0,0,0.1);
}

.cookie-btn-reject:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--primary-hover);
}
