.cookie-modal {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal.show {
    display: block !important;
    opacity: 1 !important;
}

.cookie-content {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 10px;
}

.cookie-content::-webkit-scrollbar {
    width: 8px;
}

.cookie-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.cookie-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.cookie-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.cookie-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.cookie-modal p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-options {
    margin: 20px 0;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    margin: 15px 0;
    padding: 12px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: background-color 0.2s;
}

.cookie-option:hover {
    background: #e9ecef;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #0088cc;
}

input:disabled + .cookie-slider {
    background-color: #6c757d;
    cursor: not-allowed;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-option span {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 4px;
    display: block;
}

.cookie-option small {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.cookie-btn-accept {
    background-color: #0088cc;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #006da3;
}

.cookie-btn-reject {
    background-color: #e9ecef;
    color: #495057;
}

.cookie-btn-reject:hover {
    background-color: #dee2e6;
}

.cookie-details {
    margin-top: 15px;
    text-align: center;
}

.cookie-details a {
    color: #0088cc;
    text-decoration: none;
    font-size: 0.9rem;
}

.cookie-details a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .cookie-modal {
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        border-radius: 12px 12px 0 0;
    }

    .cookie-option {
        flex-direction: column;
    }

    .cookie-switch {
        margin-bottom: 10px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        padding: 12px;
    }
} 