/* Cookie Consent Banner Styles */
.cookie-banner-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-top: 2px solid var(--industrial-yellow);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 20px 0;
    display: none;
}
.cookie-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.cookie-banner-text {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
    text-align: center;
}
@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        justify-content: space-between;
    }
    .cookie-banner-text {
        text-align: left;
        max-width: 65%;
    }
}
.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Modal Styles */
.cookie-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}
.cookie-modal {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}
.cookie-modal-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.cookie-modal-body {
    padding: 20px;
    overflow-y: auto;
}
.cookie-modal-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Toggle Switch */
.cookie-category {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}
.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.cookie-category-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}
.cookie-category-desc {
    margin: 0;
    font-size: 13px;
    color: #666;
}
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.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: 24px;
}
.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--industrial-yellow);
}
.cookie-toggle input:disabled + .cookie-slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}
.cookie-toggle input:disabled:checked + .cookie-slider {
    background-color: #999;
}
.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}
