/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.8em;
    color: #4a5568;
    margin-bottom: 10px;
}

.modal-body {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-label {
    display: block;
    font-weight: bold;
    color: #4a5568;
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-error {
    border-color: #e53e3e;
}

.error-message {
    color: #e53e3e;
    font-size: 0.9em;
    margin-top: 5px;
}

.input-suggestions {
    margin-top: 10px;
}

.suggestion-item {
    display: inline-block;
    background: #edf2f7;
    color: #4a5568;
    padding: 5px 10px;
    margin: 2px;
    border-radius: 15px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    background: #667eea;
    color: white;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
}