﻿/*.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}*/

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: #409EFF;
    color: white;
}

    .btn-primary:hover {
        background-color: #66b1ff;
    }

.btn-success {
    background-color: #67C23A;
    color: white;
}

    .btn-success:hover {
        background-color: #85ce61;
    }

.btn-warning {
    background-color: #E6A23C;
    color: white;
}

    .btn-warning:hover {
        background-color: #ebb563;
    }

/* 对话框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 650px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -40%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.modal-header {
    padding: 11px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

    .close-btn:hover {
        color: #333;
    }

.modal-content {
    padding: 10px 20px;
}

.form-group {
    margin-bottom: 10px;
}

.group-col5 {
    width: 48%;
}

.form-div {
    display: flex;
    justify-content: space-between;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #606266;
    font-size: 14px;
    line-height: 20px;
}

.form-input {
    width: 100%;
    padding: 7px 15px;
    border: 1px solid #dcdfe6 !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .form-input:focus {
        outline: none;
        border-color: #409EFF;
    }

/* 多文本输入框样式 */
.form-textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    transition: border-color 0.2s;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.form-textarea:focus {
    outline: none;
    border-color: #409eff;
    background-color: white;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cancel {
    background-color: #e9ecef;
    color: #333;
}

    .btn-cancel:hover {
        background-color: #dcdfe6;
    }

.btn-submit {
    background-color: #409EFF;
    color: white;
}

    .btn-submit:hover {
        background-color: #66b1ff;
    }

.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 200000;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #409EFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    z-index: 30000;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    background-color: #67C23A;
}

.notification.error {
    background-color: #F56C6C;
}

.notification.warning {
    background-color: #E6A23C;
}

.notification.info {
    background-color: #909399;
}

.required-indicator {
    color: red;
    position:relative;
    top:3px;
}