.tt-cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1080;
    padding: 1rem;
    pointer-events: none;
}

.tt-cookie-banner:not([hidden]) {
    pointer-events: auto;
}

.tt-cookie-banner__panel {
    max-width: 36rem;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    background: #fff;
    color: #212529;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 768px) {
    .tt-cookie-banner__panel {
        max-width: 42rem;
    }
}

.tt-cookie-banner__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.35;
    color: #111827;
}

.tt-cookie-banner__text {
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    line-height: 1.55;
    color: #374151;
}

.tt-cookie-banner__link {
    font-size: 0.875rem;
    color: #2563eb;
    text-decoration: underline;
}

.tt-cookie-banner__custom .form-check {
    margin-bottom: 0.5rem;
}

.tt-cookie-banner__custom .form-check-label {
    font-size: 0.9375rem;
    color: #374151;
}

.tt-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    align-items: stretch;
    margin-top: 0.25rem;
}

/* Tema btn sınıflarından bağımsız — metin her zaman görünür */
.tt-cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.625rem 1.125rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}

.tt-cookie-btn--primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff !important;
}

.tt-cookie-btn--primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.tt-cookie-btn--secondary {
    background: #fff;
    border-color: #cbd5e1;
    color: #1e293b !important;
}

.tt-cookie-btn--secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.tt-cookie-btn--ghost {
    background: transparent;
    border-color: transparent;
    color: #2563eb !important;
    text-decoration: underline;
    min-height: 2.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.tt-cookie-btn--ghost:hover {
    background: #eff6ff;
    text-decoration: none;
}

.tt-cookie-btn--success {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff !important;
    margin-left: auto;
}

.tt-cookie-btn--success:hover {
    background: #15803d;
    border-color: #15803d;
}

@media (max-width: 575.98px) {
    .tt-cookie-banner {
        padding: 0.75rem;
    }

    .tt-cookie-banner__panel {
        padding: 1rem 1.125rem;
    }

    .tt-cookie-banner__actions {
        flex-direction: column;
    }

    .tt-cookie-btn {
        width: 100%;
    }

    .tt-cookie-btn--success {
        margin-left: 0;
    }
}
