/* Cookie Consent Banner Styles */

#cookieConsentBanner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    padding: 20px;
    transition: bottom 0.5s ease-in-out;
}

#cookieConsentBanner.show {
    bottom: 0;
}

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

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

.cookie-banner-text p {
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.6;
}

.cookie-banner-text p:last-child {
    margin-bottom: 0;
}

.cookie-banner-text strong {
    color: #667eea;
    font-size: 18px;
}

.cookie-links {
    font-size: 13px;
    margin-top: 10px;
}

.cookie-links a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.cookie-btn-reject {
    background: linear-gradient(135deg, #f44336 0%, #da190b 100%);
    color: white;
}

.cookie-btn-reject:hover {
    background: linear-gradient(135deg, #da190b 0%, #c2170a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.cookie-btn-config {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cookie-btn-config:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.cookie-btn-save {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
}

.cookie-btn-save:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Configuration Panel */
#cookieConfigPanel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#cookieConfigPanel.show {
    display: flex;
}

.cookie-config-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-config-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-config-header h2 {
    margin: 0;
    font-size: 22px;
}

.cookie-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.cookie-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cookie-config-body {
    padding: 30px;
}

.cookie-option {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-option-header {
    margin-bottom: 10px;
}

.cookie-option-header label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.cookie-option-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

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

.cookie-always-active {
    font-size: 12px;
    color: #4CAF50;
    font-weight: normal;
}

.cookie-future {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

.cookie-option-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 0 30px;
}

.cookie-config-footer {
    padding: 20px 30px;
    background: #f5f5f5;
    border-radius: 0 0 16px 16px;
}

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

    .cookie-banner-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-config-content {
        max-height: 95vh;
    }

    .cookie-config-body {
        padding: 20px;
    }

    .cookie-option-desc {
        margin-left: 0;
        margin-top: 8px;
    }
}
