/* KVKK/GDPR cookie consent banner. Fixed to the bottom of the viewport, above
   all content, until the visitor makes a choice. */
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 1300;
    width: min(960px, calc(100% - 2rem));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #161d2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.9rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    color: #e6e9f0;
}

.cookie-consent__body {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1 1 360px;
    min-width: 0;
}

.cookie-consent__icon {
    color: #f2b705;
    font-size: 1.5rem;
    line-height: 1.4;
    flex-shrink: 0;
}

.cookie-consent__title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.cookie-consent__desc {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #aab2c2;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.cookie-consent__btn {
    cursor: pointer;
    border: 0;
    border-radius: 0.55rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.cookie-consent__btn--accept {
    background: #1f6feb;
    color: #fff;
}

.cookie-consent__btn--accept:hover {
    background: #2a7bff;
}

.cookie-consent__btn--reject {
    background: transparent;
    color: #aab2c2;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-consent__btn--reject:hover {
    color: #e6e9f0;
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 640px) {
    .cookie-consent {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__actions {
        justify-content: flex-end;
    }
}
