.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(30, 30, 30, 0.9);
    color: #fff;
    padding: 1rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-consent-container {
        flex-direction: row;
        align-items: center;
    }
}

.cookie-consent-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-text p{
    color: #fff;
    margin: 0;
}

.cookie-consent-text a {
    color: #4dabf7;
    text-decoration: underline;
}

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

.cookie-btn {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.cookie-btn-accept-all {
    background-color: #4dabf7;
    color: #fff;
}

.cookie-btn-accept-all:hover {
    background-color: #3a8bd5;
}

.cookie-btn-essential {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.cookie-btn-essential:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-customize {
    background-color: transparent;
    text-decoration: underline;
    color: #ddd;
    padding: 0.5rem 0;
}

.cookie-btn-customize:hover {
    color: #fff;
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    background-color: #fff;
    color: #333;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.cookie-modal-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}

.cookie-modal-close:hover {
    color: #333;
}

.cookie-modal-body {
    padding: 1rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-title {
    font-weight: bold;
    font-size: 1rem;
}

.cookie-category-description {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

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

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

.cookie-category-essential .cookie-toggle-slider {
    background-color: #4dabf7;
}

.cookie-category-essential .cookie-toggle-slider:before {
    transform: translateX(26px);
}

input:checked + .cookie-toggle-slider {
    background-color: #4dabf7;
}

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

.cookie-category-essential .cookie-toggle {
    opacity: 0.5;
    pointer-events: none;
}

.cookie-modal-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.cookie-btn-save {
    background-color: #4dabf7;
    color: #fff;
}

.cookie-btn-save:hover {
    background-color: #3a8bd5;
}
