/* Cookie Banner Styles */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 25px;
    animation: slideUp 0.3s ease-out;
}

#cookie-banner.show {
    display: block;
}

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

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

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

.cookie-icon {
    font-size: 2em;
}

.cookie-header h2 {
    margin: 0;
    font-size: 1.5em;
    color: #BA181B;
}

.cookie-text {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}

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

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s;
}

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

.cookie-btn-accept:hover {
    background: #A4161A;
    transform: translateY(-2px);
}

.cookie-btn-reject {
    background: #f0f0f0;
    color: #333;
}

.cookie-btn-reject:hover {
    background: #e0e0e0;
}

.cookie-btn-settings {
    background: #f0f0f0;
    color: #333;
    border: 2px solid #BA181B;
}

.cookie-btn-settings:hover {
    background: #BA181B;
    color: white;
}

/* Cookie 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;
    overflow-y: auto;
    padding: 20px;
}

#cookie-settings-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.cookie-modal-header {
    padding: 25px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    margin: 0;
    color: #BA181B;
}

.cookie-close-btn {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
}

.cookie-close-btn:hover {
    color: #BA181B;
}

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

/* Cookie Info Box - NEU */
.cookie-info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.cookie-info-box h3 {
    margin: 0 0 10px 0;
    color: #1976D2;
    font-size: 1.1em;
}

.cookie-info-box p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid #BA181B;
}

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

.cookie-category-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
}

.cookie-category-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #BA181B;
}

input:checked + .cookie-slider:before {
    transform: translateX(30px);
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-required {
    color: #BA181B;
    font-size: 0.9em;
    font-weight: bold;
}

.cookie-modal-footer {
    padding: 25px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Settings Button (floating) */
#cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #BA181B;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(186, 24, 27, 0.4);
    z-index: 9998;
    transition: all 0.3s;
}

#cookie-settings-btn:hover {
    background: #A4161A;
    transform: scale(1.1);
}

/* Widget Placeholder Styles - NEU */
.widget-placeholder {
    margin: 20px 0;
}

.widget-placeholder button:hover {
    background: #A4161A !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(186, 24, 27, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 20px;
    }

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

    .cookie-btn {
        width: 100%;
    }

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

    #cookie-settings-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
        bottom: 15px;
        left: 15px;
    }
}