/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-top: 2px solid #00ff88;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    display: none;
}

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

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

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    color: #00ff88;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.cookie-banner-text p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    color: #000000;
}

.cookie-btn-accept:hover {
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background-color: #333333;
    color: #ffffff;
    border: 1px solid #555555;
}

.cookie-btn-reject:hover {
    background-color: #444444;
    border-color: #666666;
}

.cookie-btn-customize {
    background-color: transparent;
    color: #00d4ff;
    border: 1px solid #00d4ff;
}

.cookie-btn-customize:hover {
    background-color: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.cookie-btn-secondary {
    background-color: #666666;
    color: #ffffff;
}

.cookie-btn-secondary:hover {
    background-color: #777777;
}

.cookie-policy-link {
    color: #888888;
    font-size: 0.85rem;
    text-decoration: underline;
    margin-left: 1rem;
}

.cookie-policy-link:hover {
    color: #00ff88;
}

/* Cookie Customizer */
.cookie-customizer {
    background-color: #0a0a0a;
    border-top: 1px solid #333333;
    padding: 2rem;
}

.cookie-customizer-content {
    max-width: 800px;
    margin: 0 auto;
}

.cookie-customizer h4 {
    color: #00ff88;
    font-size: 1.3rem;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.cookie-categories {
    margin-bottom: 2rem;
}

.cookie-category {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cookie-category-header input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: #00ff88;
}

.cookie-category-header input[type="checkbox"]:disabled {
    opacity: 0.6;
}

.cookie-category-header label {
    flex: 1;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cookie-category-header label strong {
    font-weight: 600;
}

.cookie-category-required {
    color: #888888;
    font-size: 0.85rem;
    font-weight: normal;
}

.cookie-category-description {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    padding-left: 2.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .cookie-banner-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        min-width: 120px;
    }

    .cookie-policy-link {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }

    .cookie-customizer {
        padding: 1.5rem 1rem;
    }

    .cookie-category-description {
        padding-left: 0;
        margin-top: 0.5rem;
    }

    .cookie-customizer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-customizer-actions .cookie-btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .cookie-banner-content {
        padding: 1rem;
    }

    .cookie-banner-text h3 {
        font-size: 1.1rem;
    }

    .cookie-banner-text p {
        font-size: 0.9rem;
    }

    .cookie-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .cookie-category {
        padding: 1rem;
    }

    .cookie-category-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-category-description {
        padding-left: 0;
    }
}

/* Ensure banner doesn't interfere with page content */
body.cookie-banner-visible {
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    body.cookie-banner-visible {
        padding-bottom: 180px;
    }
}

@media (max-width: 480px) {
    body.cookie-banner-visible {
        padding-bottom: 220px;
    }
}