﻿/* --- 弹窗 Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none; /* 默认隐藏 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background: #fff;
    padding: 30px;
    width: 400px;
    border-radius: 8px;
    position: relative;
}

    .modal h3 {
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

.form-group {
    margin-bottom: 15px;
}

    .form-group input, .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background: #0055b8;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
