/* 弹窗样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

/* 弹窗内容 */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
}

/* 弹窗标题 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.modal-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    background-color: #007bff;
    padding: 10px 15px;
    border-radius: 3px;
}

/* 关闭按钮 */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/* 表单组 */
.form-group {
    display: flex;
    margin-bottom: 15px;
}

/* 标签 */
.label {
    width: 120px;
    padding: 8px 10px;
    font-weight: bold;
    text-align: right;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* 输入框 */
.input-field {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-left: 10px;
    background-color: #f8f9fa;
}

/* 科室介绍文本域 */
.textarea-field {
    width: 100%;
    height: 150px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #f8f9fa;
    resize: vertical;
}

/* 按钮 */
.btn {
    padding: 8px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 10px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}
.btn-secondary {
    background-color: #6c757d;
    color: white;
}