﻿/* ══════════════════════════════════════
   COOKIE CONSENT BANNER
══════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 14, 38, 0.97);
    border-top: 2px solid #72b845;
    z-index: 9999;
    padding: 18px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* Sol: ikon + metin */
.cookie-banner__text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 260px;
}

.cookie-banner__icon {
    font-size: 1.5rem;
    color: #72b845;
    flex-shrink: 0;
    margin-top: 1px;
}

.cookie-banner__text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.cookie-banner__text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.5;
}

.cookie-banner__text a {
    color: #72b845;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
    color: #8fd45d;
}

/* Sağ: butonlar */
.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, transform 0.15s;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-btn--primary {
    background: #72b845;
    color: #fff;
}

.cookie-btn--primary:hover {
    background: #5da033;
    transform: translateY(-1px);
}

.cookie-btn--secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Mobil */
@media (max-width: 576px) {
    .cookie-banner__inner {
        flex-direction: column;
        gap: 16px;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
        padding: 12px;
    }
}