/* GDPR Cookie Manager Styles */
.cookie-manager {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 2rem 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.cookie-manager.show {
    transform: translateY(0);
}

.cookie-manager-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.cookie-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #a8a8a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cookie-description {
    color: #a8a8a8;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.cookie-close {
    background: none;
    border: none;
    color: #a8a8a8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.cookie-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-category {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-toggle.active {
    background: #595353;
    border-color: #595353;
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle.active::after {
    transform: translateX(24px);
}

.cookie-category-description {
    color: #a8a8a8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-category-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.cookie-detail-item:last-child {
    border-bottom: none;
}

.cookie-detail-name {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
}

.cookie-detail-duration {
    color: #a8a8a8;
    font-size: 0.8rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-btn-secondary {
    background: transparent;
    color: #a8a8a8;
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cookie-btn-primary {
    background: #595353;
    color: #ffffff;
}

.cookie-btn-primary:hover {
    background: #7a7a7a;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(89, 83, 83, 0.3);
}

.cookie-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.cookie-settings-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a8a8a8;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    padding: 1.5rem 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-content {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.cookie-banner-description {
    color: #a8a8a8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-consent-status {
    position: fixed;
    bottom: 20px;
    right: 0;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 1rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9998;
    transform: translateX(80%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 1;
    pointer-events: auto;
    width: 200px;
}

.cookie-consent-status.show {
    transform: translateX(0);
}

.cookie-consent-status:hover {
    transform: translateX(0);
}

.cookie-consent-hover-area {
    position: fixed;
    bottom: 20px;
    right: 0;
    width: 40px;
    height: 60px;
    z-index: 9997;
    background: transparent;
    cursor: pointer;
}

.cookie-consent-hover-area:hover + .cookie-consent-status,
.cookie-consent-status:hover {
    transform: translateX(0);
}

.cookie-consent-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.cookie-consent-text {
    color: #a8a8a8;
    font-size: 0.8rem;
    margin: 0 0 1rem 0;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-consent-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #a8a8a8;
}

.cookie-consent-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cookie-consent-btn.primary {
    background: #595353;
    color: #ffffff;
}

.cookie-consent-btn.primary:hover {
    background: #7a7a7a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-manager {
        padding: 1rem 0;
    }
    
    .cookie-manager-container {
        padding: 0 16px;
        justify-content: flex-start;
        padding-top: 2rem;
    }
    
    .cookie-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cookie-actions {
        justify-content: center;
    }
    
    .cookie-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-banner-actions {
        justify-content: center;
    }
    
    .cookie-consent-status {
        bottom: 10px;
        right: 0;
        width: 180px;
        transform: translateX(80%);
        background: rgba(26, 26, 26, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-right: none;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    .cookie-consent-status.show {
        transform: translateX(0);
    }
    
    .cookie-consent-hover-area {
        bottom: 10px;
        width: 40px;
    }
}

@media (max-width: 480px) {
    .cookie-manager-container,
    .cookie-banner-container {
        padding: 0 16px;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }
}

/* Animation for cookie banner */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

.cookie-banner.slide-up {
    animation: slideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.slide-down {
    animation: slideDown 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} 