﻿/* --- Cookie Banner: ekranın altında sabit --- */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0px); /* iOS safe-area */
    width: 100%;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 -6px 24px rgba(0,0,0,.08);
    border-radius: 0;
    z-index: 1040; /* Bootstrap: modal-backdrop(1050) ve modal(1055)'un altında kalsın */
}

    .cookie-consent .container {
        padding-top: .75rem;
        padding-bottom: max(.75rem, env(safe-area-inset-bottom, 0px));
    }

@media (max-width: 576px) {
    .cookie-consent .container {
        flex-direction: column;
        gap: .5rem;
        align-items: stretch;
    }

    .cookie-actions {
        justify-content: flex-end;
    }
}

/* Banner açıkken içerik altta gizlenmesin diye tampon boşluk */
body.has-cookie-banner {
    padding-bottom: 96px; /* tasarımına göre 72–120px arası ayarlayabilirsin */
}

@media (max-width: 576px) {
    body.has-cookie-banner {
        padding-bottom: 120px;
    }
}
