.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 320px;
    z-index: 100;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cookie-banner:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-content {
    background: linear-gradient(232deg, rgba(20, 20, 20, 0.95) 50%, rgba(0, 0, 0, 0.95) 100%);
    border: 2px solid rgba(255, 107, 53, 0.6);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2), 0 8px 24px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    padding: 16px;
}

.cookie-title {
    color: #ff6b35;
    font-family: 'Orbitron', monospace;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.cookie-description {
    color: #d1d5db;
    margin: 0 0 16px 0;
    font-size: 13px;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.cookie-btn-decline {
    background: rgba(75, 85, 99, 0.8);
    color: #d1d5db;
    border: 1px solid rgba(75, 85, 99, 0.5);
}

.cookie-btn-decline:hover {
    background: rgba(75, 85, 99, 1);
    color: white;
}

.cookie-btn-settings {
    background: transparent;
    color: #ff6b35;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.cookie-btn-settings:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.5);
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cookie-modal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal-content {
    background: linear-gradient(232deg, rgba(20, 20, 20, 0.98) 50%, rgba(0, 0, 0, 0.98) 100%);
    border: 2px solid rgba(255, 107, 53, 0.6);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    margin-bottom: 20px;
}

.cookie-modal-header h3 {
    color: #ff6b35;
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: #d1d5db;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cookie-modal-body {
    padding: 0 24px;
}

.cookie-modal-body > p {
    color: #d1d5db;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-category {
    margin-bottom: 20px;
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 8px;
    padding: 16px;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    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: #374151;
    transition: 0.3s;
    border-radius: 24px;
}

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

input:checked + .cookie-slider {
    background-color: #22c55e;
}

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

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

.cookie-category-info h4 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.cookie-category-info p {
    color: #9ca3af;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.cookie-modal-footer {
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.cookie-policy-link {
    color: #ff6b35;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.cookie-policy-link:hover {
    border-bottom-color: #ff6b35;
}

@media (max-width: 768px) {
    .cookie-banner {
        display: none !important;
    }

    .cookie-modal-content {
        width: 95%;
        margin: 0 10px;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cookie-modal-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .cookie-btn {
        width: 100%;
    }
}
