/**
 * Cookie Settings Page Styles
 */

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

.cookie-category {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #151f38;
}

.cookie-category h3 {
    margin-top: 0;
    color: #151f38;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-category p {
    color: #666;
    margin-bottom: 15px;
}

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

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

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

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

input:checked + .slider {
    background-color: #04878e;
}

input:disabled + .slider {
    background-color: #999;
    cursor: not-allowed;
}

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

.save-button {
    background-color: #04878e;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.save-button:hover {
    background-color: #036670;
}

.success-message {
    display: none;
    background-color: #d6ca96;
    color: #151f38;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.success-message.show {
    display: block;
}

.required-label {
    display: inline-block;
    background-color: #151f38;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
}
