/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #f0f0f0;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid var(--color-secondary-accent);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-content {
    flex: 1;
}

.cookie-consent-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--color-secondary-accent);
    font-size: 1.2em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-consent-content h3 i {
    font-size: 1.3em;
}

.cookie-consent-content p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 0;
    color: #d0d0d0;
}

.cookie-consent-content a {
    color: var(--color-secondary-accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-consent-content a:hover {
    color: #fff;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
}

.cookie-consent-btn-accept {
    background: linear-gradient(135deg, var(--color-secondary-accent), #ffd700);
    color: var(--color-dark-bg);
}

.cookie-consent-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 234, 5, 0.4);
}

.cookie-consent-btn-decline {
    background: transparent;
    color: #f0f0f0;
    border: 2px solid #4a4a5e;
}

.cookie-consent-btn-decline:hover {
    background: #2a2a3e;
    border-color: var(--color-secondary-accent);
}

.cookie-consent-btn-settings {
    background: transparent;
    color: var(--color-secondary-accent);
    border: 2px solid var(--color-secondary-accent);
}

.cookie-consent-btn-settings:hover {
    background: var(--color-secondary-accent);
    color: var(--color-dark-bg);
}

/* Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    padding: 25px;
    background: linear-gradient(135deg, var(--color-medium-dark-bg), #003d99);
    color: white;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-settings-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    margin: 0;
}

.cookie-settings-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.cookie-settings-close:hover {
    transform: rotate(90deg);
}

.cookie-settings-body {
    padding: 25px;
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-header h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--color-medium-dark-bg);
    font-size: 1.1em;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.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: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--color-secondary-accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #6c757d;
    cursor: not-allowed;
}

.cookie-category-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

.cookie-settings-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-buttons {
        justify-content: stretch;
    }

    .cookie-consent-btn {
        flex: 1;
        min-width: auto;
        padding: 10px 16px;
        font-size: 0.9em;
    }

    .cookie-settings-content {
        max-height: 95vh;
    }

    .cookie-settings-header h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 15px;
    }

    .cookie-consent-content h3 {
        font-size: 1em;
    }

    .cookie-consent-content p {
        font-size: 0.85em;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-consent-btn {
        width: 100%;
    }

    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding: 15px;
    }
}
