.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent p {
    margin: 0;
    padding-right: 2rem;
}

.cookie-consent .buttons {
    display: flex;
    gap: 1rem;
}

.cookie-consent .btn,
.cookie-settings-modal .btn {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-consent .btn--accept {
    background: #4CAF50;
    color: white;
}

.cookie-consent .btn--settings {
    background: #2196F3;
    color: white;
}

/* Modal Overlay */
.cookie-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.cookie-settings-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.cookie-settings-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.cookie-settings-modal h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.cookie-settings-modal .cookie-types {
    margin: 1.5rem 0;
}

.cookie-type {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #f9f9f9;
}

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

.cookie-type h4 {
    margin: 0 0 0.5rem 0;
    color: #444;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-type .status {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.cookie-type p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Switch styling */
.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: #4CAF50;
}

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

.cookie-settings-modal .actions {
    margin-top: 1.5rem;
    text-align: right;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.cookie-settings-modal .btn--save {
    background: #4CAF50;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .cookie-consent {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .cookie-consent p {
        padding-right: 0;
        margin-bottom: 1rem;
    }
    
    .cookie-settings-modal {
        width: calc(100% - 2rem);
        margin: 1rem;
        padding: 1.5rem;
    }
}
