/* ============================================================
   Çerez onayı (cookie consent) banner'ı — site alt kısmında sabit bar.
   Site paletiyle uyumlu (koyu #070026 / yeşil #0b3d34), mobil uyumlu.
   ============================================================ */

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998; /* içeriğin üstünde ama Bootstrap modallarının (1050+) altında değil;
                      modallar tam ekran açıldığında banner görünse de sorun değil */
    background: #ffffff;
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.10);
    padding: 16px 20px;
}

/* HTML `hidden` özniteliği + güvenli CSS gizleme (JS gösterene kadar) */
.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent__text {
    margin: 0;
    flex: 1 1 420px;
    font-size: 14px;
    line-height: 1.5;
    color: #3d4148;
}

.cookie-consent__link {
    color: #0b3d34;
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}
.cookie-consent__link:hover {
    color: #070026;
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.cookie-consent__btn {
    border: 1px solid #070026;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cookie-consent__btn--reject {
    background: #fff;
    color: #070026;
}
.cookie-consent__btn--reject:hover {
    background: #f2f2f2;
}

.cookie-consent__btn--accept {
    background: #070026;
    color: #fff;
}
.cookie-consent__btn--accept:hover {
    background: #1a1040;
}

/* Mobil: metin üstte, butonlar altta tam genişlik */
@media (max-width: 576px) {
    .cookie-consent {
        padding: 14px 16px;
    }
    .cookie-consent__inner {
        gap: 12px;
    }
    .cookie-consent__text {
        flex: 1 1 100%;
        font-size: 13px;
    }
    .cookie-consent__actions {
        width: 100%;
    }
    .cookie-consent__btn {
        flex: 1 1 auto;
        padding: 11px 12px;
    }
}
