/* ========== 萌宠管理弹窗样式 ========== */

/* 萌宠管理弹窗 */
#petMgmtModal .pet-mgmt-modal-content {
    width: 600px;
    max-width: 95%;
}

/* 萌宠管理区块样式 */
.pet-mgmt-section {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.pet-mgmt-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* 未分配学生列表容器 */
.unassigned-student-list {
    max-height: 300px;
    overflow-y: auto;
}

/* 未分配学生行样式 */
.unassigned-student-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.unassigned-student-item:last-child {
    margin-bottom: 0;
}

.unassigned-student-item:hover {
    border-color: var(--theme-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 未分配学生左侧信息 */
.unassigned-student-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

/* 未分配学生编号样式 */
.unassigned-student-index {
    width: 28px;
    height: 28px;
    background-color: #999;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* 未分配学生姓名样式 */
.unassigned-student-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* 未分配学生蛋图标 */
.unassigned-student-egg {
    font-size: 24px;
}

/* 未分配学生操作按钮 */
.btn-assign-single {
    padding: 6px 12px;
    background-color: var(--theme-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-assign-single:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* 未分配学生列表空状态 */
.unassigned-list-empty {
    text-align: center;
    padding: 30px 20px;
    color: #999;
    font-size: 14px;
}

.unassigned-list-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

/* 萌宠管理操作区域 */
.pet-mgmt-actions {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.pet-mgmt-actions .btn-lg {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
}

.pet-mgmt-tip {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* 萌宠管理响应式 */
@media (max-width: 480px) {
    #petMgmtModal .pet-mgmt-modal-content {
        width: 95%;
    }
    
    .unassigned-student-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .unassigned-student-left {
        width: 100%;
    }
    
    .btn-assign-single {
        width: 100%;
    }
    
    .pet-mgmt-actions .btn-lg {
        width: 100%;
        padding: 12px 20px;
    }
}
