/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 20px;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}

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

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

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

.cookie-banner-text a {
    color: #007bff;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #0056b3;
}

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

.cookie-banner-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.cookie-banner-btn-accept {
    background: #28a745;
    color: #fff;
}

.cookie-banner-btn-accept:hover {
    background: #218838;
}

.cookie-banner-btn-reject {
    background: #dc3545;
    color: #fff;
}

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

.cookie-banner-btn-settings {
    background: #6c757d;
    color: #fff;
}

.cookie-banner-btn-settings:hover {
    background: #5a6268;
}

/* Cookie Settings Panel */
.cookie-settings-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    padding: 30px 20px;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-settings-panel.show {
    display: block;
}

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

.cookie-settings-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

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

.cookie-settings-item:last-child {
    border-bottom: none;
}

.cookie-settings-item-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-settings-item-title a {
    color: #007bff;
    text-decoration: underline;
    font-size: 14px;
    font-weight: normal;
}

.cookie-settings-item-title a:hover {
    color: #0056b3;
}

.cookie-settings-item-title > span > a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.cookie-settings-item-title > span > a:hover {
    text-decoration: underline;
    color: #007bff;
}

.cookie-settings-item-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.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.3s;
    border-radius: 24px;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #28a745;
}

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

.cookie-settings-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cookie-settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.cookie-settings-btn-save {
    background: #007bff;
    color: #fff;
}

.cookie-settings-btn-save:hover {
    background: #0056b3;
}

.cookie-settings-btn-allow {
    background: #28a745;
    color: #fff;
}

.cookie-settings-btn-allow:hover {
    background: #218838;
}

.cookie-settings-btn-deny {
    background: #dc3545;
    color: #fff;
}

.cookie-settings-btn-deny:hover {
    background: #c82333;
}

/* Cookie Status Panel */
.cookie-status-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 20px;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-status-panel.show {
    display: block;
}

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

.cookie-status-text {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}

.cookie-status-text .status-icon {
    color: #28a745;
    margin-right: 5px;
}

.cookie-status-date {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}

.cookie-status-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-status-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    line-height: 1;
}

.cookie-status-close:hover {
    color: #333;
}

/* Cookie Status Footer */
.cookie-status-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.cookie-status-text-footer {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.cookie-status-text-footer .status-icon {
    color: #28a745;
    margin-right: 5px;
}

.cookie-status-date-footer {
    font-size: 12px;
    margin-top: 5px;
}

.cookie-status-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    background: #fff;
    color: #333;
    transition: all 0.3s;
}

.cookie-status-btn:hover {
    background: #f8f9fa;
    border-color: #999;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
    }
    
    .cookie-banner-btn {
        width: 100%;
    }
    
    .cookie-settings-panel {
        padding: 20px 15px;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
    }
    
    .cookie-settings-btn {
        width: 100%;
    }
    
    .cookie-status-panel {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .cookie-status-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-status-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .cookie-status-btn {
        flex: 1;
    }
}

