/*
 * OwO Farm Bot Stable
 * Copyright (C) 2024 Mido
 * This software is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
 * For more information, see README.md and LICENSE
 */

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #121212;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    display: none;
    z-index: 1000;
}

.popup .popup-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: bold;
}

.popup .popup-body {
    padding: 20px;
}

.popup .popup-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.popup .background-option label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.popup .background-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.popup .background-item {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.popup .background-item:hover {
    transform: scale(1.05);
}

.popup .background-item.selected {
    border-color: #007bff;
}

.popup .btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.popup .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.popup .btn-secondary:hover {
    background-color: #5a6268;
}
