﻿/**
 * VIP Danışmanlık - Cookie Consent Manager Styles
 * Profesyonel, hafif ve responsive tasarım
 */

/* Animasyonlar */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Ana Banner */
.vip-cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

.vip-cookie-inner {
    background: rgba(10, 25, 47, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
}

.vip-cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

/* İkon */
.vip-cookie-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 213, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vip-cookie-icon i {
    color: #ffd54f;
    font-size: 1.2rem;
}

/* Metin */
.vip-cookie-text {
    flex: 1;
    min-width: 200px;
}

.vip-cookie-text .vip-cookie-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 3px 0;
}

.vip-cookie-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.vip-cookie-text a {
    color: #ffd54f;
    text-decoration: underline;
}

/* Butonlar */
.vip-cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vip-cookie-buttons button {
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vip-btn-settings {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.vip-btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff !important;
}

.vip-btn-reject {
    background: transparent;
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.5) !important;
}

.vip-btn-reject:hover {
    background: rgba(255, 107, 107, 0.15);
    border-color: #ff6b6b !important;
}

.vip-btn-accept {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: #fff;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
}

.vip-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.5);
}

/* Ayarlar Paneli */
.vip-cookie-settings {
    max-width: 1400px;
    margin: 15px auto 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vip-cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vip-cookie-setting-item strong {
    color: #fff;
    font-size: 0.9rem;
    display: block;
}

.vip-cookie-setting-item small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.vip-always-on {
    color: #4caf50;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Toggle Switch */
.vip-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.vip-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.vip-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 26px;
}

.vip-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.vip-switch input:checked+.vip-slider {
    background-color: #4caf50;
}

.vip-switch input:checked+.vip-slider:before {
    transform: translateX(24px);
}

/* Kaydet Butonu */
.vip-btn-save {
    width: 100%;
    margin-top: 15px;
    background: linear-gradient(135deg, #4caf50, #43a047);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vip-btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .vip-cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .vip-cookie-icon {
        display: none;
    }

    .vip-cookie-text {
        width: 100%;
    }

    .vip-cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .vip-cookie-buttons button {
        flex: 1;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .vip-cookie-inner {
        padding: 12px 15px;
    }

    .vip-cookie-text .vip-cookie-title {
        font-size: 0.9rem;
    }

    .vip-cookie-text p {
        font-size: 0.8rem;
    }

    .vip-cookie-buttons button {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .vip-cookie-setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}