.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f5f5f5;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 9999;
}

.cookie-settings {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    max-width: 500px;
    width: 90%;
    z-index: 10000;
}

.cookie-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.cookie-category {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.cookie-category h4 {
    margin: 0 0 8px 0;
    color: #333;
}

.cookie-category p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px 5px;
    font-weight: 500;
}

.btn-primary {
    background: #739A59;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-settings {
    background: transparent;
    border: 1px solid #6c757d;
    color: #6c757d;
}

/* Improved Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    float: right;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

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

.slider_cookies:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Switch OFF state */
.slider_cookies:after {
    content: "OFF";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 12px;
    font-weight: bold;
}

/* Switch ON state */
input:checked + .slider_cookies:after {
    content: "ON";
    left: 8px;
    right: auto;
    color: white;
}

input:checked + .slider_cookies {
    background-color: #739A59;
    border-color: #739A59;
}

input:checked + .slider_cookies:before {
    transform: translateX(30px);
}

/* Disabled switch styles */
input:disabled + .slider_cookies {
    background-color: #739A59;
    opacity: 0.7;
    cursor: not-allowed;
}

input:disabled + .slider_cookies:before {
    background-color: #f8f9fa;
}

/* Focus styles for accessibility */
input:focus + .slider_cookies {
    box-shadow: 0 0 1px #739A59;
}

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

.cookie-category-header h4 {
    margin: 0;
}
