/* Cookie Consent Banner - GDPR/KVKK Compliance */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 0;
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .3);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent-text a {
    color: #90caf9;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #fff;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-consent-buttons button {
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, .3) !important;
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .5) !important;
}

.cookie-btn-settings {
    background: transparent;
    color: #90caf9;
    padding: 10px 14px !important;
    font-size: 13px !important;
}

.cookie-btn-settings:hover {
    color: #fff;
    text-decoration: underline;
}

/* Settings Panel */
.cookie-settings-panel {
    display: none;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 4px;
}

.cookie-settings-panel.open {
    display: block;
}

.cookie-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.cookie-setting-item:last-child {
    border-bottom: none;
}

.cookie-setting-info h6 {
    margin: 0;
    font-size: 14px;
    color: #fff;
}

.cookie-setting-info p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #999;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #444;
    border-radius: 24px;
    transition: .3s;
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .3s;
}

.cookie-toggle input:checked+.cookie-toggle-slider {
    background: #667eea;
}

.cookie-toggle input:checked+.cookie-toggle-slider::before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled+.cookie-toggle-slider {
    opacity: .6;
    cursor: not-allowed;
}

.cookie-settings-save {
    margin-top: 12px;
    text-align: right;
}

.cookie-settings-save button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.cookie-settings-save button:hover {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        padding: 16px;
        gap: 14px;
    }

    .cookie-consent-text {
        min-width: unset;
        font-size: 13px;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-consent-buttons button {
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
    }

    .cookie-btn-settings {
        flex: 0 !important;
    }
}