.cookie-manager {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
}

.cookie-settings-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cookie-settings-button:hover {
    transform: scale(1.1);
}

.cookie-settings-panel {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    width: 400px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.cookie-settings-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.cookie-settings-header h3 {
    margin: 0;
    color: #002851;
    font-size: 1.2rem;
}

.close-settings {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-content {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 20px;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

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

.cookie-option-header span {
    font-weight: 500;
    color: #002851;
}

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

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

.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: 24px;
}

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

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

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

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

.cookie-settings-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.save-settings {
    background: #002851;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.save-settings:hover {
    background: #003b7a;
}
