/* GDPR Cookie Consent Plugin Styles */
.gdpr-cookie-consent {
    position: fixed;
    left: -450px;
    bottom: 30px;
    width: 420px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 25px;
    z-index: 10000;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateX(-100%) scale(0.9);
    opacity: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gdpr-cookie-consent.active {
    left: 30px;
    transform: translateX(0) scale(1);
    opacity: 1;
    animation: gdprBounceIn 1s ease-out;
}

@keyframes gdprBounceIn {
    0% {
        transform: translateX(-100%) scale(0.3);
        opacity: 0;
    }
    50% {
        transform: translateX(0) scale(1.05);
        opacity: 0.9;
    }
    70% {
        transform: translateX(0) scale(0.95);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.gdpr-cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.gdpr-cookie-header h3 {
    color: #6C63FF;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.gdpr-cookie-header h3 i {
    font-size: 1.6rem;
}

.gdpr-cookie-body {
    margin-bottom: 20px;
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
}

.gdpr-cookie-body a {
    color: #6C63FF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.gdpr-cookie-body a:hover {
    color: #5a52d5;
    border-bottom: 1px solid #5a52d5;
}

.gdpr-cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.gdpr-cookie-buttons button {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    flex: 1;
    font-size: 0.9rem;
}

.gdpr-cookie-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 1s;
}

.gdpr-cookie-buttons button:hover::before {
    left: 100%;
}

.gdpr-cookie-accept {
    background: linear-gradient(135deg, #6C63FF 0%, #5a52d5 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.gdpr-cookie-accept:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(108, 99, 255, 0.6);
}

.gdpr-cookie-settings {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(108, 99, 255, 0.2) 100%);
    color: #6C63FF;
    border: 2px solid #6C63FF;
}

.gdpr-cookie-settings:hover {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2) 0%, rgba(108, 99, 255, 0.3) 100%);
    transform: translateY(-5px) scale(1.05);
}

.gdpr-cookie-reject {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(245, 101, 101, 0.2) 100%);
    color: #F56565;
    border: 2px solid #F56565;
}

.gdpr-cookie-reject:hover {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.2) 0%, rgba(245, 101, 101, 0.3) 100%);
    transform: translateY(-5px) scale(1.05);
}

.gdpr-settings-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(15px);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    padding: 30px;
    z-index: 10001;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
}

.gdpr-settings-modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: gdprModalAppear 0.8s ease-out;
}

@keyframes gdprModalAppear {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.gdpr-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.gdpr-settings-header h3 {
    color: #6C63FF;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.gdpr-settings-header .gdpr-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdpr-settings-header .gdpr-close-btn:hover {
    color: #2D3748;
    background: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
}

.gdpr-setting {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.7) 0%, rgba(233, 236, 239, 0.7) 100%);
    border-left: 4px solid #6C63FF;
    transition: all 0.3s ease;
}

.gdpr-setting:hover {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%);
    transform: translateX(10px);
}

.gdpr-setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gdpr-setting-header h4 {
    color: #2D3748;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.gdpr-setting p {
    color: #718096;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.gdpr-required-badge {
    background: linear-gradient(135deg, #6C63FF 0%, #5a52d5 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    margin-left: 10px;
}

.gdpr-toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

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

.gdpr-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ccc 0%, #aaa 100%);
    transition: .4s;
    border-radius: 34px;
}

.gdpr-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.gdpr-toggle-switch input:checked + .gdpr-toggle-slider {
    background: linear-gradient(135deg, #48BB78 0%, #3da766 100%);
}

.gdpr-toggle-switch input:checked + .gdpr-toggle-slider:before {
    transform: translateX(30px);
}

.gdpr-toggle-switch input:disabled + .gdpr-toggle-slider {
    background: linear-gradient(135deg, #6C63FF 0%, #5a52d5 100%);
    cursor: not-allowed;
}

.gdpr-settings-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.gdpr-settings-buttons button {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gdpr-save-btn {
    background: linear-gradient(135deg, #6C63FF 0%, #5a52d5 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.gdpr-save-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(108, 99, 255, 0.6);
}

.gdpr-details {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #718096;
}

.gdpr-details summary {
    cursor: pointer;
    margin-bottom: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.gdpr-details summary:hover {
    background: rgba(0, 0, 0, 0.05);
}

.gdpr-details table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.gdpr-details th, .gdpr-details td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.gdpr-details th {
    background: rgba(0, 0, 0, 0.03);
}

.gdpr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
}

.gdpr-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gdpr-preference-bar {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(15px);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transform: translateY(150%) scale(0.9);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 400px;
    opacity: 0;
}

.gdpr-preference-bar.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    animation: gdprSlideUp 0.8s ease-out;
}

@keyframes gdprSlideUp {
    0% {
        transform: translateY(150%) scale(0.9);
        opacity: 0;
    }
    70% {
        transform: translateY(-10%) scale(1.02);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.gdpr-preference-bar p {
    margin: 0;
    color: #718096;
    font-size: 0.9rem;
}

.gdpr-preference-bar a {
    color: #6C63FF;
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.gdpr-preference-bar a:hover {
    color: #5a52d5;
    border-bottom: 1px solid #5a52d5;
}

.gdpr-preference-bar button {
    background: linear-gradient(135deg, #6C63FF 0%, #5a52d5 100%);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gdpr-preference-bar button:hover {
    background: linear-gradient(135deg, #5a52d5 0%, #4e46c2 100%);
    transform: translateY(-3px) scale(1.05);
}

/* Cookie Animation */
.gdpr-cookie-animation {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 2rem;
    color: #6C63FF;
    animation: gdprFloat 3s ease-in-out infinite;
}

@keyframes gdprFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gdpr-cookie-consent {
        width: 90%;
        left: -100%;
        bottom: 20px;
        transform: translateX(-100%) scale(0.9);
    }
    
    .gdpr-cookie-consent.active {
        left: 5%;
        transform: translateX(0) scale(1);
    }
    
    .gdpr-cookie-buttons {
        flex-direction: column;
    }
    
    .gdpr-cookie-buttons button {
        width: 100%;
    }
    
    .gdpr-settings-buttons {
        flex-direction: column;
    }
    
    .gdpr-preference-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        left: 5%;
        right: 5%;
        max-width: none;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .gdpr-cookie-consent {
        padding: 20px;
    }
    
    .gdpr-settings-modal {
        padding: 20px;
    }
    
    .gdpr-setting {
        padding: 15px;
    }
}