/* Çerez bandı + otomatik mesaj popup'ı. Tailwind build'ine bağımlı olmasın diye düz CSS (ctt-tracker.js ile birlikte). */

.ctt-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: #0f2e2e;
    color: #e6f2f2;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .18);
    font-family: inherit;
}

.ctt-consent[hidden] { display: none; }

.ctt-consent__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}

.ctt-consent__text {
    flex: 1 1 420px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.ctt-consent__text a { color: #7fe0d6; text-decoration: underline; }

.ctt-consent__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ctt-btn {
    border: 0;
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s ease, color .15s ease;
}

.ctt-btn--primary { background: #fe7e4f; color: #fff; }
.ctt-btn--primary:hover { background: #f06a39; }
.ctt-btn--ghost { background: transparent; color: #e6f2f2; box-shadow: inset 0 0 0 1px rgba(230, 242, 242, .45); }
.ctt-btn--ghost:hover { background: rgba(255, 255, 255, .08); }

@media (max-width: 640px) {
    .ctt-consent__actions { width: 100%; }
    .ctt-btn { flex: 1; }
}

/* ── Popup ─────────────────────────────────────────────────────────────── */

.ctt-pop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9997;
    width: min(360px, calc(100vw - 32px));
    background: #fff;
    color: #161d1f;
    border-radius: 16px;
    border: 1px solid rgba(0, 128, 128, .15);
    box-shadow: 0 20px 60px rgba(0, 40, 40, .25);
    padding: 20px 20px 18px;
    font-family: inherit;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .2s ease, transform .2s ease;
}

.ctt-pop--open { opacity: 1; transform: translateY(0); }

.ctt-pop__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
}

.ctt-pop__close:hover { background: #f3f4f6; color: #111827; }

.ctt-pop__title {
    font-size: 17px;
    font-weight: 700;
    color: #006565;
    margin: 0 28px 6px 0;
}

.ctt-pop__msg {
    font-size: 14px;
    line-height: 1.55;
    color: #374151;
    white-space: pre-line;
}

.ctt-pop__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #006565;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.ctt-pop__btn:hover { background: #008080; }
.ctt-pop__btn--wa { background: #25d366; }
.ctt-pop__btn--wa:hover { background: #1ebe5b; }

@media (max-width: 640px) {
    .ctt-pop { right: 16px; bottom: 16px; }
}
