/* Cookie Consent Banner Styles - GDPR Compliant - Compact & Beautiful */

#cookieConsentBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.96) 0%, rgba(10, 20, 15, 0.98) 100%);
    border-top: 2px solid rgba(0, 255, 65, 0.5);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 255, 65, 0.15) inset, 0 -2px 8px rgba(0, 255, 65, 0.1);
    backdrop-filter: blur(25px) saturate(180%);
    padding: 1.25rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

#cookieConsentBanner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.25), rgba(0, 255, 65, 0.15));
    border: 2px solid rgba(0, 255, 65, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 255, 65, 0.25), 0 0 0 1px rgba(0, 255, 65, 0.2) inset;
}

.cookie-consent-icon i {
    font-size: 1.4rem;
    color: #00ff41;
    filter: drop-shadow(0 0 4px rgba(0, 255, 65, 0.5));
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
}

.cookie-consent-text h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.cookie-consent-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.cookie-consent-links {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.cookie-consent-links a {
    color: #00ff41;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-consent-links a:hover {
    color: #39ff14;
    text-decoration: underline;
}

.cookie-consent-links span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.65rem 1.4rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.cookie-btn i {
    font-size: 0.85rem;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #00ff41 0%, #39ff14 50%, #7fff00 100%);
    color: #000;
    box-shadow: 0 4px 16px rgba(0, 255, 65, 0.45), 0 0 0 1px rgba(0, 255, 65, 0.25) inset, 0 0 20px rgba(0, 255, 65, 0.2);
    font-weight: 800;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 24px rgba(0, 255, 65, 0.6), 0 0 0 1px rgba(0, 255, 65, 0.35) inset, 0 0 30px rgba(0, 255, 65, 0.3);
    background: linear-gradient(135deg, #39ff14 0%, #7fff00 50%, #adff2f 100%);
}

.cookie-btn-reject {
    background: rgba(0, 0, 0, 0.65);
    color: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.cookie-btn-reject:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.cookie-btn-customize {
    background: rgba(0, 255, 65, 0.12);
    color: #00ff41;
    border: 1.5px solid rgba(0, 255, 65, 0.45);
}

.cookie-btn-customize:hover {
    background: rgba(0, 255, 65, 0.2);
    border-color: rgba(0, 255, 65, 0.65);
    color: #39ff14;
    transform: translateY(-2px);
}

/* Cookie Customize Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal-overlay.show {
    opacity: 1;
}

.cookie-modal-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(10, 20, 15, 0.98) 100%);
    border: 2px solid rgba(0, 255, 65, 0.4);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 255, 65, 0.1) inset;
    backdrop-filter: blur(25px) saturate(180%);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-modal-overlay.show .cookie-modal-content {
    transform: scale(1) translateY(0);
}

.cookie-modal-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-modal-header h3 i {
    color: #00ff41;
    font-size: 1.3rem;
}

.cookie-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-modal-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cookie-preference-item {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.cookie-preference-item:hover {
    border-color: rgba(0, 255, 65, 0.4);
    background: rgba(0, 0, 0, 0.5);
}

.cookie-preference-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.cookie-preference-header h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-badge {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.2), rgba(0, 255, 65, 0.1));
    color: #00ff41;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.cookie-preference-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 32px;
    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-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, #00ff41, #39ff14);
    border-color: rgba(0, 255, 65, 0.6);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 255, 65, 0.5);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle:hover input:not(:disabled) + .cookie-toggle-slider {
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.4);
}

.cookie-modal-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #00ff41 0%, #39ff14 100%);
    color: #000;
    box-shadow: 0 4px 16px rgba(0, 255, 65, 0.4);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 255, 65, 0.5);
    background: linear-gradient(135deg, #39ff14 0%, #7fff00 100%);
}

.cookie-btn-secondary {
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #cookieConsentBanner {
        padding: 1.125rem 1.25rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-consent-icon {
        width: 42px;
        height: 42px;
    }

    .cookie-consent-icon i {
        font-size: 1.25rem;
    }

    .cookie-consent-text {
        min-width: 100%;
    }

    .cookie-consent-text h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .cookie-consent-text p {
        font-size: 0.825rem;
        line-height: 1.55;
        margin-bottom: 0.625rem;
    }

    .cookie-consent-links {
        gap: 0.5rem;
    }

    .cookie-consent-links a {
        font-size: 0.75rem;
    }

    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.625rem;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
        padding: 0.625rem 1.25rem;
    }

    .cookie-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }

    .cookie-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .cookie-modal-header h3 {
        font-size: 1.3rem;
    }

    .cookie-modal-body {
        padding: 1.5rem;
    }

    .cookie-preference-item {
        padding: 1.25rem;
    }

    .cookie-preference-header {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #cookieConsentBanner {
        padding: 1rem 1.125rem;
    }

    .cookie-consent-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .cookie-consent-icon i {
        font-size: 1.15rem;
    }

    .cookie-consent-text h4 {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .cookie-consent-text p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

    .cookie-consent-links a {
        font-size: 0.7rem;
    }

    .cookie-btn {
        padding: 0.575rem 1.125rem;
        font-size: 0.825rem;
        border-radius: 8px;
    }

    .cookie-btn i {
        font-size: 0.8rem;
    }
}

