/**
 * GDPR Cookie Consent Styles
 * Modern, responsive design
 */

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 3px solid #e50914;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

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

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
    color: #fff;
}

.cookie-consent-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.cookie-consent-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #b3b3b3;
    margin-bottom: 8px;
}

.cookie-consent-link {
    color: #e50914;
    text-decoration: underline;
    font-size: 13px;
    display: inline-block;
    margin-top: 5px;
}

.cookie-consent-link:hover {
    color: #ff0a16;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Cookie Buttons */
.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #e50914;
    color: white;
}

.cookie-btn-accept:hover {
    background: #ff0a16;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
}

.cookie-btn-necessary {
    background: #4a4a4a;
    color: white;
}

.cookie-btn-necessary:hover {
    background: #5a5a5a;
}

.cookie-btn-settings {
    background: transparent;
    color: white;
    border: 2px solid #4a4a4a;
}

.cookie-btn-settings:hover {
    background: #4a4a4a;
    border-color: #5a5a5a;
}

.cookie-btn-reject {
    background: transparent;
    color: #b3b3b3;
    border: 2px solid #4a4a4a;
}

.cookie-btn-reject:hover {
    background: #2a2a2a;
    color: white;
}

.cookie-btn-secondary {
    background: #4a4a4a;
    color: white;
}

.cookie-btn-secondary:hover {
    background: #5a5a5a;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.cookie-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid #e50914;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.cookie-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

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

.cookie-modal-body {
    padding: 25px;
}

.cookie-modal-intro {
    color: #b3b3b3;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.cookie-category:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-category-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #e50914;
}

.cookie-category-header input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-category-header label {
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    flex: 1;
}

.cookie-category-desc {
    color: #b3b3b3;
    font-size: 13px;
    line-height: 1.5;
    margin-left: 32px;
    margin-bottom: 0;
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Cookie Notification */
.cookie-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #e50914;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.cookie-notification.show {
    opacity: 1;
    transform: translateX(0);
}

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

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

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-modal-content {
        margin: 10px;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 15px;
    }

    .cookie-consent-text h3 {
        font-size: 18px;
    }

    .cookie-consent-text p {
        font-size: 13px;
    }

    .cookie-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .cookie-modal-header h2 {
        font-size: 20px;
    }
}

/* Smooth scrollbar for modal */
.cookie-modal-content::-webkit-scrollbar {
    width: 8px;
}

.cookie-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.cookie-modal-content::-webkit-scrollbar-thumb {
    background: #e50914;
    border-radius: 4px;
}

.cookie-modal-content::-webkit-scrollbar-thumb:hover {
    background: #ff0a16;
}

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

/* Print styles - hide cookie banner when printing */
@media print {
    .cookie-consent-banner,
    .cookie-modal,
    .cookie-notification {
        display: none !important;
    }
}
