/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--dark-bg, #2d3436);
}

.modal h2 {
    color: var(--dark-bg, #2d3436);
    margin-bottom: 10px;
    text-align: center;
}

.modal p {
    text-align: center;
    color: var(--text-secondary, #636e72);
    margin-bottom: 30px;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 8px;
    justify-content: space-between;
    max-width: 400px;
    overflow: hidden;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 5px;
}

.radio-group input[type="radio"] {
    width: 10px;
}
