@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
    --primary: #4CAF50;
    --bg: #0a0a0a;
    --text: #ffffff;
    --accent: #1e1e1e;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
}

#cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: var(--accent);
    color: var(--text);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    display: none;
    z-index: 9999;
    transition: all 0.3s ease;
}

#cookie-popup.show {
    display: block;
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookie-popup h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

#cookie-popup p {
    margin: 0 0 15px;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

#accept-cookies {
    background-color: var(--primary);
    color: var(--text);
}

#accept-cookies:hover {
    background-color: #45a049;
}

#reject-cookies {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--text);
}

#reject-cookies:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#learn-more {
    background: none;
    border: none;
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
}

#learn-more:hover {
    color: #45a049;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.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: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(16px);
}

.preferences {
    margin-bottom: 15px;
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}